tail

Returns the list after removing the first element.

Type

type tail = <E>(s: E[]) => E[]

Example

import {tail} from 'fnxt/array';

tail([1, 2, 3, 4]) // -> [2, 3, 4]

See Also

|  head  |              tail              |
|---[0]-----[1]-----[2]-----[3]-----[4]---|
|              init              |  last  |