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

Function withoutLabel

ark/schema/parse.ts:255–255  ·  view source on GitHub ↗
({ label, ...meta }: ArkEnv.meta)

Source from the content-addressed store, hash-verified

253// summary without the key it stood in for. So it's no label, as is the one
254// `.label("")` replaces
255const withoutLabel = ({ label, ...meta }: ArkEnv.meta): ArkEnv.meta => meta
256
257const hasSymbolMeta = (meta: object): boolean =>
258 Object.getOwnPropertySymbols(meta).length > 0

Callers 1

parseNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected