MCPcopy Index your code
hub / github.com/nodejs/node / isModule

Function isModule

lib/internal/vm/module.js:97–102  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

95const { isContext } = require('internal/vm');
96
97function isModule(object) {
98 if (typeof object !== 'object' || object === null || !ObjectPrototypeHasOwnProperty(object, kWrap)) {
99 return false;
100 }
101 return true;
102}
103
104function phaseEnumToPhaseName(phase) {
105 const phaseName = PHASE_MAP[phase];

Callers 3

[kLink]Method · 0.85
linkRequestsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…