Function isDefined

  • Type Parameters

    • T

    Parameters

    • arg: undefined | null | T

      argument to test

    Returns arg is T extends undefined | null
        ? never
        : T

    false if the argument is null or undefined and true otherwise

Generated using TypeDoc