From 3da691b30bb385c511aa3985b2436830c3fc0672 Mon Sep 17 00:00:00 2001 From: Harshitha KP Date: Mon, 6 Jan 2020 00:52:14 -0500 Subject: [PATCH 1/4] 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 --- doc/api/util.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/util.md b/doc/api/util.md index 6a6eaf65e7ef50..6f120c33a46fe8 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1392,6 +1392,9 @@ added: v10.0.0 * Returns: {boolean} Returns `true` if the value is a native `External` value. +`native external` is data that is: +i) not stored inside JS heap +ii) not conformant to JS types ### `util.types.isFloat32Array(value)`