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

Function lambda

packages/effect/src/Struct.ts:663–665  ·  view source on GitHub ↗
(
  f: (a: Parameters<L>[0]) => ReturnType<L>
)

Source from the content-addressed store, hash-verified

661 * @since 4.0.0
662 */
663export const lambda = <L extends (a: any) => any>(
664 f: (a: Parameters<L>[0]) => ReturnType<L>
665): L => f as any
666
667/**
668 * Applies a {@link Lambda} transformation to every value in a struct.

Callers 2

Tuple.tsFile · 0.85
Struct.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected