Skip to content

Commit

Permalink
doc: fix minor typo in n-api.md
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Dzenly authored and targos committed Oct 10, 2018
1 parent f1cb8ab commit 4c54f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 4c54f89

Please sign in to comment.