Skip to content

Commit

Permalink
grammar changes and setting napiVersion to 4 from pr review
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodconnolly committed Feb 12, 2019
1 parent bb48cac commit c21826f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@ structure, in most cases using a `TypedArray` will suffice.
#### napi_create_date
<!-- YAML
added: REPLACEME
napiVersion: REPLACEME
napiVersion: 4
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -2176,7 +2176,7 @@ This API returns various properties of a `DataView`.
#### napi_get_date_value
<!-- YAML
added: REPLACEME
napiVersion: REPLACEME
napiVersion: 4
-->

> Stability: 1 - Experimental
Expand All @@ -2188,7 +2188,7 @@ napi_status napi_get_date_value(napi_env env,
```

- `[in] env`: The environment that the API is invoked under.
- `[in] value`: `napi_value` representing JavaScript `Date`.
- `[in] value`: `napi_value` representing a JavaScript `Date`.
- `[out] result`: Time value as a `double` represented as milliseconds
since midnight at the beginning of 01 January, 1970 UTC.

Expand Down Expand Up @@ -2785,7 +2785,7 @@ This API checks if the `Object` passed in is a buffer.
### napi_is_date
<!-- YAML
added: REPLACEME
napiVersion: REPLACEME
napiVersion: 4
-->

> Stability: 1 - Experimental
Expand All @@ -2796,7 +2796,7 @@ napi_status napi_is_date(napi_env env, napi_value value, bool* result)

- `[in] env`: The environment that the API is invoked under.
- `[in] value`: The JavaScript value to check.
- `[out] result`: Whether the given `napi_value` represents JavaScript `Date`
- `[out] result`: Whether the given `napi_value` represents a JavaScript `Date`
object.

Returns `napi_ok` if the API succeeded.
Expand Down

0 comments on commit c21826f

Please sign in to comment.