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
Search the reference...
/
function
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
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →