Function isNotNull

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

    Type Parameters

    • T

    Parameters

    • val: null | T

      value to check

    Returns val is T

Generated using TypeDoc