MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / New

Method New

src/NodeRTLib/ProjectFiles/CollectionsWrap.h:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 _convertToTypeFunc(convertToTypeFunc) {}
107
108 static void New(Nan::NAN_METHOD_ARGS_TYPE info) {
109 NodeRT::Utils::SetHiddenValue(
110 info.This(), Nan::New<String>("__winRtInstance__").ToLocalChecked(),
111 True());
112
113 info.GetReturnValue().Set(info.This());
114 }
115
116 static void LengthGetter(Local<String> property,
117 const Nan::PropertyCallbackInfo<v8::Value>& info) {

Callers

nothing calls this directly

Calls 2

SetHiddenValueFunction · 0.85
SetMethod · 0.45

Tested by

no test coverage detected