Skip to content

Commit

Permalink
doc: fix documentation for object api
Browse files Browse the repository at this point in the history
PR-URL: #931 

Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
NickNaso authored Mar 15, 2021
1 parent 3b8bdda commit bb56ffa
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions doc/object.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,7 @@ Napi::Object::Object(napi_env env, napi_value value);
```
- `[in] env`: The `napi_env` environment in which to construct the Value object.
- `[in] value`: The C++ primitive from which to instantiate the Value. `value` may be any of:
- bool
- Any integer type
- Any floating point type
- const char* (encoded using UTF-8, null-terminated)
- const char16_t* (encoded using UTF-16-LE, null-terminated)
- std::string (encoded using UTF-8)
- std::u16string
- Napi::Value
- napi_value
- `[in] value`: The `napi_value` which is a handle for a JavaScript object.
Creates a non-empty `Napi::Object` instance.
Expand Down

0 comments on commit bb56ffa

Please sign in to comment.