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

Function _pipeNodes

ark/sets/intersections.ts:216–225  ·  view source on GitHub ↗
(
	l: nodeOfKind<RootKind>,
	r: nodeOfKind<RootKind>,
	ctx: IntersectionContext
)

Source from the content-addressed store, hash-verified

214}
215
216const _pipeNodes = (
217 l: nodeOfKind<RootKind>,
218 r: nodeOfKind<RootKind>,
219 ctx: IntersectionContext
220) =>
221 l.alters || r.alters ?
222 ctx.invert ?
223 pipeMorphed(r, l, ctx)
224 : pipeMorphed(l, r, ctx)
225 : _intersectNodes(l, r, ctx)
226
227const pipeMorphed = (
228 from: nodeOfKind<RootKind>,

Callers 1

intersections.tsFile · 0.85

Calls 2

pipeMorphedFunction · 0.85
_intersectNodesFunction · 0.85

Tested by

no test coverage detected