effect-io-ai

Package: effect
Module: Chunk

Chunk.unsafeLast

Returns the last element of this chunk.

It will throw an error if the chunk is empty.

Signature

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

Source

Since v2.0.0