@mocanvas/store · type
type StoreQueryFilter<Rec extends UnknownRecord> = ((record: Rec) => boolean) | QueryExpression<Rec>How the records of one type are narrowed: a predicate, or a declarative QueryExpression the store can answer from an index.
Prefer the query object. A predicate has to be run against every record of
the type; a query with an eq clause is answered from an index bucket.
Mentioned here
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.