MCPcopy
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 */
845export 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

unsafeGetFunction · 0.70

Tested by

no test coverage detected