NewDash

    Function tail

    • Gets all but the first element of array.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array to query.

      Returns T[]

      Returns the slice of array.

      5.13.0

      tail([1, 2, 3])
      // => [2, 3]
    MMNEPVFCICPMFPCPTTAAATR