| 27 | Nan::Persistent<v8::String> g_valueProp; |
| 28 | |
| 29 | static void initProps() { |
| 30 | if (g_keyProp.IsEmpty()) |
| 31 | g_keyProp.Reset(Nan::New<v8::String>("key").ToLocalChecked()); |
| 32 | |
| 33 | if (g_valueProp.IsEmpty()) |
| 34 | g_valueProp.Reset(Nan::New<v8::String>("value").ToLocalChecked()); |
| 35 | } |
| 36 | |
| 37 | static std::function<bool(v8::Local<v8::Value>)> checkStringFunc = |
| 38 | [](v8::Local<v8::Value> value) -> bool { return value->IsString(); }; |
no outgoing calls
no test coverage detected