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

Function tail

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

Source from the content-addressed store, hash-verified

894 * @category getters
895 */
896export const tail = <A>(self: List<A>): Option.Option<List<A>> => isNil(self) ? Option.none() : Option.some(self.tail)
897
898/**
899 * Takes the specified number of elements from the beginning of the specified

Callers

nothing calls this directly

Calls 1

isNilFunction · 0.85

Tested by

no test coverage detected