isModuleNamespaceObject

external fun isModuleNamespaceObject(value: Any?): Boolean(source)

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

Since

v10.0.0