@mocanvas/store · function
declare function validateIndexKey(key: string): asserts key is IndexKeyThrows if key is not a well-formed fractional index key: a head marker,
enough base-62 integer digits for that head, then an optional fraction of
base-62 digits that does not end in 0.
Narrows the type on success.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.