Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ unsafeHead
Function
unsafeHead
packages/effect/src/Chunk.ts:845–845 ·
view source on GitHub ↗
(self: Chunk<A>)
Source
from the content-addressed store, hash-verified
843
* @category unsafe
844
*/
845
export
const
unsafeHead = <A>(self: Chunk<A>): A => unsafeGet(self, 0)
846
847
/**
848
* Returns the first element of this non empty chunk.
Callers
nothing calls this directly
Calls
1
unsafeGet
Function · 0.70
Tested by
no test coverage detected