Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/nan
/ To
Method
To
nan.h:250–253 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
248
inline void Check() const { FromJust(); }
249
250
inline bool To(T* out) const {
251
if (IsJust()) *out = value_;
252
return IsJust();
253
}
254
255
inline T FromJust() const {
256
#if defined(V8_ENABLE_CHECKS)
Callers
1
NAN_METHOD
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected