Skip to content

Commit 3da691b

Browse files
committed
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: nodejs#31173 (comment)
1 parent 8a96d05 commit 3da691b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

doc/api/util.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,6 +1392,9 @@ added: v10.0.0
13921392
* Returns: {boolean}
13931393

13941394
Returns `true` if the value is a native `External` value.
1395+
`native external` is data that is:
1396+
i) not stored inside JS heap
1397+
ii) not conformant to JS types
13951398

13961399
### `util.types.isFloat32Array(value)`
13971400
<!-- YAML

0 commit comments

Comments
 (0)