API reference / @evolu/common / Type / IsUnionWithNull
Type Alias: IsUnionWithNull<U>
type IsUnionWithNull<U> =
U extends UnionType<infer Members>
? Members extends [AnyType, ...AnyType[]]
? NullTypeInMembers<Members>
: false
: false;
Defined in: packages/common/src/Type.ts:3702
Type Parameters
Type Parameter |
---|
U extends AnyType |