doc: fix minor typo in n-api.md
Correct parameter name for `napi_is_error` description. PR-URL: https://github.com/nodejs/node/pull/23310 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
fd6a7d4db1
commit
4f0971d366
@ -571,7 +571,7 @@ NAPI_EXTERN napi_status napi_is_error(napi_env env,
|
||||
bool* result);
|
||||
```
|
||||
- `[in] env`: The environment that the API is invoked under.
|
||||
- `[in] msg`: The `napi_value` to be checked.
|
||||
- `[in] value`: The `napi_value` to be checked.
|
||||
- `[out] result`: Boolean value that is set to true if `napi_value` represents
|
||||
an error, false otherwise.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user