Options
All
  • Public
  • Public/Protected
  • All
Menu

Module tail

Index

References

Functions Array

References

Renames and re-exports tail

Array Functions

  • tail<T>(array: T[]): T[]
  • Gets all but the first element of array.

    since

    5.13.0

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

    Type Parameters

    • T

    Parameters

    • array: T[]

      The array to query.

    Returns T[]

    Returns the slice of array.