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 <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Dzenly authored and jasnell committed Oct 17, 2018
1 parent 7401362 commit 9fa7c2a
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 9fa7c2a

Please sign in to comment.