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

Function hasSymbolMeta

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

Source from the content-addressed store, hash-verified

255const withoutLabel = ({ label, ...meta }: ArkEnv.meta): ArkEnv.meta => meta
256
257const hasSymbolMeta = (meta: object): boolean =>
258 Object.getOwnPropertySymbols(meta).length > 0
259
260const hasNoMeta = (meta: object): boolean =>
261 isEmptyObject(meta) && !hasSymbolMeta(meta)

Callers 2

hasNoMetaFunction · 0.85
createNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected