Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ tail
Function
tail
packages/effect/src/Chunk.ts:2055–2055 ·
view source on GitHub ↗
(self: Chunk<A>)
Source
from the content-addressed store, hash-verified
2053
* @since 2.0.0
2054
*/
2055
export
const
tail = <A>(self: Chunk<A>): O.Option<Chunk<A>> => self.length > 0 ? O.some(drop(self, 1)) : O.none()
2056
2057
/**
2058
* Returns every element after the first from a non-empty chunk.
Callers
nothing calls this directly
Calls
1
some
Method · 0.80
Tested by
no test coverage detected