mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
7401362a96
commit
9fa7c2aba2
1 file changed
+1
-1
+1
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user