MCPcopy Create free account
hub / github.com/ajv-validator/ajv / names

Method names

lib/compile/codegen/code.ts:56–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 get names(): UsedNames {
57 return (this._names ??= this._items.reduce((names: UsedNames, c) => {
58 if (c instanceof Name) names[c.str] = (names[c.str] || 0) + 1
59 return names
60 }, {}))
61 }
62}
63
64export type CodeItem = Name | string | number | boolean | null

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected