We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8bdda commit bb56ffaCopy full SHA for bb56ffa
doc/object.md
@@ -56,16 +56,7 @@ Napi::Object::Object(napi_env env, napi_value value);
56
```
57
- `[in] env`: The `napi_env` environment in which to construct the Value object.
58
59
-- `[in] value`: The C++ primitive from which to instantiate the Value. `value` may be any of:
60
- - bool
61
- - Any integer type
62
- - Any floating point type
63
- - const char* (encoded using UTF-8, null-terminated)
64
- - const char16_t* (encoded using UTF-16-LE, null-terminated)
65
- - std::string (encoded using UTF-8)
66
- - std::u16string
67
- - Napi::Value
68
- - napi_value
+- `[in] value`: The `napi_value` which is a handle for a JavaScript object.
69
70
Creates a non-empty `Napi::Object` instance.
71
0 commit comments