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

Function isIn

ark/aot/usage.ts:936–937  ·  view source on GitHub ↗
(node: Span, span: Span)

Source from the content-addressed store, hash-verified

934 !runtime.kept.some(span => isIn(node, span))
935
936const isIn = (node: Span, span: Span) =>
937 span.start <= node.start && node.end <= span.end
938
939export const isSpan = (node: Span, span: Span): boolean =>
940 node.start === span.start && node.end === span.end

Callers 2

isDeadFunction · 0.85
nodesAtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected