Type alias IsNullable<T>

IsNullable<T>: IfExtends<T, Nullable, true, false>

A nullable type is a type that might be null, undefined or both

Type Parameters

  • T

Returns

true if it is, else false