MCPcopy Index your code
hub / github.com/Effect-TS/effect / unsafeLast

Function unsafeLast

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

Source from the content-addressed store, hash-verified

869 * @category unsafe
870 */
871export const unsafeLast = <A>(self: Chunk<A>): A => unsafeGet(self, self.length - 1)
872
873/**
874 * Returns the last element of this non empty chunk.

Callers

nothing calls this directly

Calls 1

unsafeGetFunction · 0.70

Tested by

no test coverage detected