• Bounds-checked array access to last element

    An out-of-bounds access is considered an error.

    Returns

    Last value of array

    Type Parameters

    Type Parameters

    • T

    Parameters

    • array: readonly T[]

      The array

    Returns T

Generated using TypeDoc