API reference / @evolu/common / Type / NullTypeInMembers

Type Alias: NullTypeInMembers<Members>

type NullTypeInMembers<Members> = Members extends [infer Head, ...infer Tail]
  ? Head extends typeof Null
    ? true
    : Tail extends [AnyType, ...AnyType[]]
      ? NullTypeInMembers<Tail>
      : false
  : false;

Defined in: packages/common/src/Type.ts:3709

Type Parameters

Type Parameter
Members extends [AnyType, ...AnyType[]]

Was this page helpful?