Function notNullOrUndefined

  • Check if the given value is not null and not undefined and sets the correct type

    Type Parameters

    Type Parameters

    • T

    Parameters

    • val: undefined | null | T

    Returns val is T

Generated using TypeDoc