Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: explain native external types #31214

Closed
wants to merge 4 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,11 @@ added: v10.0.0
* `value` {any}
* Returns: {boolean}

Returns `true` if the value is a native `External` value.
A native `External` value is a special type of object whose
data is (a) not stored within the JavaScript managed heap
gireeshpunathil marked this conversation as resolved.
Show resolved Hide resolved
and (b) does not conform to standard JavaScript types. Such
gireeshpunathil marked this conversation as resolved.
Show resolved Hide resolved
objects are created either by Node.js internals or native
addons and are wrapped by a JavaScript object.

### `util.types.isFloat32Array(value)`
<!-- YAML
Expand Down