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

Method next

ark/aot/settingsValidators.ts:943–949  ·  view source on GitHub ↗
(hole)

Source from the content-addressed store, hash-verified

941 // a symbol is a WeakMap key only in engines since ES2023
942 tablesByValue = /* @__PURE__ */ new Map()
943 next(hole) {
944 const tables =
945 hasDomain(hole, "object") ? this.tablesByObject : this.tablesByValue
946 let next = tables.get(hole)
947 if (!next) tables.set(hole, (next = new _InternTable()))
948 return next
949 }
950}
951var tablesByKey = /* @__PURE__ */ new Map()
952var internedTable = key => {

Callers 7

checkedDefaultOfFunction · 0.45
internFunction · 0.45
touchPrecompilerFunction · 0.45
checkFilesMethod · 0.45
scanProgramFunction · 0.45
scanProgramSyncFunction · 0.45
ownFilesOfFunction · 0.45

Calls 3

hasDomainFunction · 0.70
getMethod · 0.65
setMethod · 0.45

Tested by 1

ownFilesOfFunction · 0.36