Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ tailNonEmpty
Function
tailNonEmpty
packages/effect/src/Array.ts:1206–1206 ·
view source on GitHub ↗
(self: NonEmptyReadonlyArray<A>)
Source
from the content-addressed store, hash-verified
1204
* @since 2.0.0
1205
*/
1206
export
const
tailNonEmpty = <A>(self: NonEmptyReadonlyArray<A>): Array<A> => self.slice(1)
1207
1208
/**
1209
* Returns all elements except the last safely, wrapped in an `Option`.
Callers
3
Array.ts
File · 0.70
unprepend
Function · 0.70
tail
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected