Function arrayLast

  • Extracts the last element from the given array.

    Type Parameters

    • T

    Parameters

    • array: T[]

      The array to extract the last element from.

    Returns undefined | T

    the last element.

Generated using TypeDoc