Span API
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]
静态方法
检测方法
Span.isSpan(value: any) => value is Span
检测 value
是否实现了 Span
接口。