Skip to content

Commit bb56ffa

Browse files
authored
doc: fix documentation for object api
PR-URL: #931 Reviewed-By: Michael Dawson <[email protected]>
1 parent 3b8bdda commit bb56ffa

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

doc/object.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,7 @@ Napi::Object::Object(napi_env env, napi_value value);
5656
```
5757
- `[in] env`: The `napi_env` environment in which to construct the Value object.
5858
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
59+
- `[in] value`: The `napi_value` which is a handle for a JavaScript object.
6960
7061
Creates a non-empty `Napi::Object` instance.
7162

0 commit comments

Comments
 (0)