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

Function hasNoMeta

ark/schema/parse.ts:260–261  ·  view source on GitHub ↗
(meta: object)

Source from the content-addressed store, hash-verified

258 Object.getOwnPropertySymbols(meta).length > 0
259
260const hasNoMeta = (meta: object): boolean =>
261 isEmptyObject(meta) && !hasSymbolMeta(meta)
262
263// a value holding an alias outside a structure is deferred to an alias of its own
264export const deferAliases = (v: unknown, $: BaseScope): unknown => {

Callers 1

parseNodeFunction · 0.70

Calls 2

isEmptyObjectFunction · 0.90
hasSymbolMetaFunction · 0.85

Tested by

no test coverage detected