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 7319a0d commit 6490b1fCopy full SHA for 6490b1f
doc/object.md
@@ -86,13 +86,7 @@ The key can be any of the following types:
86
- `const std::string&`
87
- `uint32_t`
88
89
-While the value must be any of the following types:
90
-- `napi_value`
91
-- [`Napi::Value`](value.md)
92
-- `const char*`
93
-- `std::string&`
94
-- `bool`
95
-- `double`
+The `value` can be of any type that is accepted by [`Napi::Value::From`][].
96
97
### Delete()
98
@@ -271,3 +265,4 @@ Napi::Value Napi::Object::operator[] (uint32_t index) const;
271
265
Returns an indexed property or array element as a [`Napi::Value`](value.md).
272
266
273
267
[`Napi::Value`]: ./value.md
268
+[`Napi::Value::From`]: ./value.md#from
0 commit comments