Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ headUnsafe
Function
headUnsafe
packages/effect/src/Chunk.ts:1401–1401 ·
view source on GitHub ↗
(self: Chunk<A>)
Source
from the content-addressed store, hash-verified
1399
* @since 4.0.0
1400
*/
1401
export
const
headUnsafe = <A>(self: Chunk<A>): A => getUnsafe(self, 0)
1402
1403
/**
1404
* Returns the first element of this non empty chunk.
Callers
nothing calls this directly
Calls
1
getUnsafe
Function · 0.70
Tested by
no test coverage detected