MCPcopy
hub / github.com/Effect-TS/effect / tail

Function tail

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

Source from the content-addressed store, hash-verified

1113 * @category elements
1114 */
1115export const tail = <A>(self: Chunk<A>): Option<Chunk<A>> => self.length > 0 ? O.some(drop(self, 1)) : O.none()
1116
1117/**
1118 * Returns every elements after the first.

Callers

nothing calls this directly

Calls 1

dropFunction · 0.85

Tested by

no test coverage detected