@mocanvas/editor · interface
interface Validatable<T>Anything that can check a value and narrow its type: a Validator, a StyleProp, ...
Methods · 2
isValid(value: unknown): booleanvalidate(value: unknown): Tmocanvas 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.