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

Function isNodeKind

ark/schema/shared/implement.ts:199–200  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

197)
198
199export const isNodeKind = (value: unknown): value is NodeKind =>
200 typeof value === "string" && hasOwn(precedenceByKind, value)
201
202export function assertNodeKind<kind extends NodeKind>(
203 value: BaseNode,

Callers 4

assertNoProblemConfigFunction · 0.90
configureSchemaFunction · 0.90
mergeConfigsFunction · 0.90
compareInnerKeysFunction · 0.90

Calls 1

hasOwnFunction · 0.90

Tested by

no test coverage detected