Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/nan
/ stringMatches
Function
stringMatches
test/cpp/nannew.cpp:48–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
bool
49
stringMatches(Local<Value> value, const char * match) {
50
Nan::Utf8String v(value);
51
return std::string(*v) == std::string(match);
52
}
53
54
#define _(e) NAN_TEST_EXPRESSION(e)
55
Callers
1
NAN_METHOD
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected