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

Function isURL

lib/internal/util/inspect.js:206–209  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

204}
205
206function isURL(value) {
207 internalUrl ??= require('internal/url');
208 return typeof value.href === 'string' && value instanceof internalUrl.URL;
209}
210
211const builtInObjects = new SafeSet(
212 ArrayPrototypeFilter(

Callers 8

objectComparisonStartFunction · 0.70
formatRawFunction · 0.70
findPackageJSONFunction · 0.50
legacyMainResolveFunction · 0.50
throwIfInvalidParentURLFunction · 0.50
registerFunction · 0.50
createRequireFunction · 0.50
moduleMethod · 0.50

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…