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.