MCPcopy Create free account
hub / github.com/Effect-TS/effect / fromNonEmptyArrayUnsafe

Function fromNonEmptyArrayUnsafe

packages/effect/src/Chunk.ts:593–594  ·  view source on GitHub ↗
(self: NonEmptyReadonlyArray<A>)

Source from the content-addressed store, hash-verified

591 * @since 4.0.0
592 */
593export const fromNonEmptyArrayUnsafe = <A>(self: NonEmptyReadonlyArray<A>): NonEmptyChunk<A> =>
594 fromArrayUnsafe(self) as any
595
596/**
597 * Gets an element at the specified index without returning an `Option`.

Callers 1

makeFunction · 0.85

Calls 1

fromArrayUnsafeFunction · 0.85

Tested by

no test coverage detected