From 4f0971d3665e0a946d3799f0398b7a4cfd43bddf Mon Sep 17 00:00:00 2001 From: Aleksey Chemakin Date: Sun, 7 Oct 2018 11:36:14 +0700 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Gus Caplan Reviewed-By: Luigi Pinca --- doc/api/n-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 430867f4629..5276ee2e543 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -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.