Skip to content
napi-bindings

Search

Search pages, projects and the Node-API reference

Browse Node-APIshow

Working with JavaScript values and abstract operations

Source: Node.js documentation

Node-API exposes a set of APIs to perform some abstract operations on JavaScript values.

These APIs support doing one of the following:

  1. Coerce JavaScript values to specific JavaScript types (such as number or string).
  2. Check the type of a JavaScript value.
  3. Check for equality between two JavaScript values.

APIs in this section

Working with JavaScript values and abstract operations