MCPcopy Create free account
hub / github.com/arktypeio/arktype / isInertMetaProperty

Function isInertMetaProperty

ark/aot/scan.ts:463–464  ·  view source on GitHub ↗
(name: unknown)

Source from the content-addressed store, hash-verified

461// import.meta members that load no module; hot and webpackHot are undefined or
462// inert in a production build
463export const isInertMetaProperty = (name: unknown): boolean =>
464 inertMetaProperties.has(name as never)
465
466const inertMetaProperties = new Set([
467 "env",

Callers 2

isInertMetaReadFunction · 0.90
importsOfFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected