From 5892b76538533405dbedb116aa3b3b0305f5815a Mon Sep 17 00:00:00 2001 From: Aleksey Chemakin Date: Sun, 7 Oct 2018 11:36:14 +0700 Subject: [PATCH] Corrected parameter name for napi_is_error description. Fixed minor typo. --- 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 430867f4629c1c..5276ee2e54377f 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.