diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 52b45187736e88..5a343ef377cfe3 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -1560,25 +1560,6 @@ is passed in it returns `napi_number_expected`. This API returns the C int64 primitive equivalent of the given JavaScript Number -#### *napi_get_value_string_length* - -```C -napi_status napi_get_value_string_length(napi_env env, - napi_value value, - int* result) -``` - -- `[in] env`: The environment that the API is invoked under. -- `[in] value`: `napi_value` representing JavaScript string. -- `[out] result`: Number of characters in the given JavaScript string. - -Returns `napi_ok` if the API succeeded. If a non-String `napi_value` -is passed in it returns `napi_string_expected`. - -This API returns the number of characters in the given JavaScript string. - #### *napi_get_value_string_utf8*