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

Function pipeChecked

ark/schema/shared/traversal.ts:646–647  ·  view source on GitHub ↗
(ctx, node, data)

Source from the content-addressed store, hash-verified

644) => unknown
645
646export const pipeChecked: TraversePipe = (ctx, node, data) =>
647 allowsPiped(ctx, node, data) ? data : errorsOf(ctx)
648
649// a node reading no pipe state is applied as is
650export const pipeApplied: TraversePipe = (ctx, node, data) => {

Callers

nothing calls this directly

Calls 2

allowsPipedFunction · 0.85
errorsOfFunction · 0.70

Tested by

no test coverage detected