N-API exposes a set of APIs to perform some abstract operations on JavaScript values. Some of these operations are documented under [Section 7][] of the [ECMAScript Language Specification][].
These APIs support doing one of the following:
- Coerce JavaScript values to specific JavaScript types (such as
Number
orString
). - Check the type of a JavaScript value.
- Check for equality between two JavaScript values.