Function isNotUndefined

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

    Type Parameters

    • T

    Parameters

    • val: undefined | T

      value to check

    Returns val is T

Generated using TypeDoc