effect-io-ai

Package: effect
Module: Chunk

Chunk.unsafeHead

Returns the first element of this chunk.

It will throw an error if the chunk is empty.

Signature

declare const unsafeHead: <A>(self: Chunk<A>) => A

Source

Since v2.0.0