• Return the size of an array

    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.