• Return the Hi Index of an array (Express expects 1 based here, so it's length).

    Type Parameters

    • T

    Parameters

    • testValue: undefined | null | T[]

      The value try and get a length from.

    Returns number

    The length if this is a valid array, or 0 otherwise.