Type alias Nullish

Nullish: null | undefined

Nullish value (either null or undefined).

Example

const nullishUndefined: Nullish = undefined;
const nullishNull: Nullish = null;