kaven-basic - v6.0.0
    Preparing search index...

    Function ArrayLast

    • Returns the last element of the given array, or undefined if the array is empty.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array from which to retrieve the last element.

      Returns undefined | T

      The last element of the array, or undefined if the array is empty.

      4.0.0

      2021-12-14