Function last

  • Returns the last element of an array

    Type Parameters

    • T

    Parameters

    • arr: T[]

      array to get the last element from

    Returns T

    the last element of the array

Generated using TypeDoc