IsPartialRow
Whether a partial write carries the key and only row fields of the same types
Import
import { IsPartialRow } from "@hyper-fetch/db"
Source
Package
Preview
type IsPartialRow<Mapped,Row,KeyField> = [Mapped] extends [Partial<Row> & Required<Pick<Row, KeyField>>] ? [Exclude<keyof Mapped, keyof Row>] extends [never] ? true : false : false;
