@mocanvas/editor · function
declare function isCustomRecord<Type extends string = RegisteredCustomRecordType>(record: unknown, type?: Type): record is TLCustomRecord<Type>Whether record is a custom record — optionally, one of a particular type.
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.