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 vsemozhetbyt committed Oct 7, 2018
1 parent fd6a7d4 commit 4f0971d
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 4f0971d

Please sign in to comment.