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

Function isSpan

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

Source from the content-addressed store, hash-verified

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
941
942const nodesAt = (module: SourceModule, spans: Span[]): Node[] => {
943 if (!spans.length) return []

Callers 3

readAtMethod · 0.90
isSiteFunction · 0.90
readMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected