MCPcopy Create free account
hub / github.com/contentlayerdev/contentlayer / headUnsafe

Function headUnsafe

packages/@contentlayer/utils/src/effect/Array.ts:7–7  ·  view source on GitHub ↗
(array: Array.Array<A>)

Source from the content-addressed store, hash-verified

5export * from '@effect-ts/core/Collections/Immutable/Array'
6
7export const headUnsafe = <A>(array: Array.Array<A>): A => pipe(array, Array.head, O.getUnsafe)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…