MCPcopy Index your code
hub / github.com/Effect-TS/effect / tailNonEmpty

Function tailNonEmpty

packages/effect/src/Array.ts:750–750  ·  view source on GitHub ↗
(self: NonEmptyReadonlyArray<A>)

Source from the content-addressed store, hash-verified

748 * @since 2.0.0
749 */
750export const tailNonEmpty = <A>(self: NonEmptyReadonlyArray<A>): Array<A> => self.slice(1)
751
752/**
753 * Get all but the last element of an `Iterable`, creating a new `Array`, or `None` if the `Iterable` is empty.

Callers 3

Array.tsFile · 0.70
unprependFunction · 0.70
tailFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…