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

Function first

packages/typeclass/src/Semigroup.ts:109–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 * @since 0.24.0
108 */
109export const first = <A = never>(): Semigroup<A> => make((a) => a, (a) => a)
110
111/**
112 * Always return the last argument.

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected