isSingleResultCollection
function isSingleResultCollection(collection): boolean;Defined in: packages/db/src/live-query-adapter.ts:48
Whether a collection yields a single result (findOne) rather than an array.
Parameters
collection
Collection<any, any, any>
Returns
boolean