Skip to main content
Version: v10.5.2

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"

Preview​

type IsSnapshotRow<Snapshot,Row> = IsGiven<Snapshot> extends true ? [Snapshot] extends [never] ? true : IsExactRow<Snapshot, Row> : true;