doc: explain native external types
There is a reference to native external types in util.types.isExternal api documentation. Provide a brief explanation to that. Refs: https://github.com/nodejs/node/pull/31173#discussion_r362816411 PR-URL: https://github.com/nodejs/node/pull/31214 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
ba98d9ab2c
commit
95871a1ed7
@ -1392,6 +1392,11 @@ added: v10.0.0
|
||||
* 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 not stored within the JavaScript managed heap
|
||||
and does not conform to standard JavaScript types. Such
|
||||
objects are created either by Node.js internals or native
|
||||
addons and are wrapped by a JavaScript object.
|
||||
|
||||
### `util.types.isFloat32Array(value)`
|
||||
<!-- YAML
|
||||
|
Loading…
x
Reference in New Issue
Block a user