Skip to content

Commit 4c54f89

Browse files
Dzenlytargos
authored andcommitted
doc: fix minor typo in n-api.md
Correct parameter name for `napi_is_error` description. PR-URL: #23310 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent f1cb8ab commit 4c54f89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ NAPI_EXTERN napi_status napi_is_error(napi_env env,
571571
bool* result);
572572
```
573573
- `[in] env`: The environment that the API is invoked under.
574-
- `[in] msg`: The `napi_value` to be checked.
574+
- `[in] value`: The `napi_value` to be checked.
575575
- `[out] result`: Boolean value that is set to true if `napi_value` represents
576576
an error, false otherwise.
577577

0 commit comments

Comments
 (0)