Span API

PreviousNext

A Span is a low-level way to refer to a Range using Element as the end points instead of a Point which requires the use of leaf text nodes.

type Span = [Path, Path]
type Span = [Path, Path]

Static Methods

Check Methods

SpanApi.isSpan(value: unknown) => value is Span

Check if a value implements the Span interface.