Function isPresent

  • Checks whether the given value is present.

    Type Parameters

    • T

      Type of the present value.

    Parameters

    • value: undefined | null | T

      A value to check.

    Returns value is T

    true when the given value is not null or undefined, or false otherwise.

Generated using TypeDoc