Function isNil

  • Type guard checking a value is null or undefined. Narrows the type from T | null | undefined to null | undefined.

    Type Parameters

    • T

    Parameters

    • val: undefined | null | T

      value to check

    Returns val is undefined | null

Generated using TypeDoc