Type Alias FalsyValue

FalsyValue:
    | undefined
    | null
    | false
    | 0
    | ""
    | 0
    | 0n

All falsy values in JavaScript. This does not include NaN because there is no dedicated type for it in TypeScript.

import type {FalsyValue} from '@augment-vir/assert';

const falsy: FalsyValue = 0;