Package: effect
Module: Tuple
Return the second element from a tuple with two elements.
Example
import * as assert from "node:assert"
import { getSecond } from "effect/Tuple"
assert.deepStrictEqual(getSecond(["hello", 42]), 42)
Signature
declare const getSecond: <L, R>(self: readonly [L, R]) => R
Since v2.0.0