isModuleNamespaceObject
Returns true
if the value is an instance of a Module Namespace Object.
import * as ns from './a.js';
util.types.isModuleNamespaceObject(ns); // Returns true
Content copied to clipboard
Since
v10.0.0