IsSnapshotRow
Whether the rows a
snapshot
mapping reads are the collection's rows. A mapping that was not given passes.
Import
import { IsSnapshotRow } from "@hyper-fetch/db"
Source
Package
Preview
type IsSnapshotRow<Snapshot,Row> = IsGiven<Snapshot> extends true ? [Snapshot] extends [never] ? true : IsExactRow<Snapshot, Row> : true;