From 1422f43a6b035a785055f125f19bdd81b45f7bc1 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Wed, 8 Jan 2020 07:11:58 +0100 Subject: [PATCH 1/3] doc: update description of `External` The previous description did not mention what an `External` is and instead only provided some hints around what it is not. Update the description to be more accurate. --- doc/api/util.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/api/util.md b/doc/api/util.md index 469bcf2b6455e9..36e995bea7a7b3 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1392,11 +1392,10 @@ 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. + +A native `External` value is a special type of object that contains a +C++ `void*` pointer for access from native code, and has no other properties. +Such objects are created either by Node.js internals or native addons. ### `util.types.isFloat32Array(value)`