Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ last
Function
last
packages/effect/src/Chunk.ts:861–861 ·
view source on GitHub ↗
(self: Chunk<A>)
Source
from the content-addressed store, hash-verified
859
* @category elements
860
*/
861
export
const
last = <A>(self: Chunk<A>): Option<A> => get(self, self.length - 1)
862
863
/**
864
* Returns the last element of this chunk.
Callers
nothing calls this directly
Calls
1
get
Function · 0.70
Tested by
no test coverage detected