Function first

  • Returns the first element of an array

    Type Parameters

    • T

    Parameters

    • arr: T[]

      array to get the first element from

    Returns T

    the first element of the array

Generated using TypeDoc