Skip to main content
Version: v10.0.0

IsExactRow

Whether mapped rows are exactly the collection's rows: nothing missing, nothing extra


Import
import { IsExactRow } from "@hyper-fetch/db"

Preview​

type IsExactRow<Mapped,Row> = [Mapped] extends [Row] ? [Exclude<keyof Mapped, keyof Row>] extends [never] ? true : false : false;