UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

12 lines (9 loc) 247 B
// ets_tracing: off import { access } from "./core.js" /** * Returns an effectful function that extracts out the second element of a * tuple. */ export function second<A>(__trace?: string) { return access((a: [unknown, A]) => a, __trace) }