Location
API reference for locations in Slate.
A Location is either a Path, Point or Range. Methods will often accept a Location instead of requiring only a Path, Point or Range.
type TLocation = Path | Point | TRange
LocationApi
isAt
Check if a value implements the At
interface.
isLocation
Check if a value implements the TLocation
interface.
isSpan
Check if a value implements the Span
interface.
Types
TLocation
Location
is a type alias for TLocation
.