import { Tuple } from "https://deno.land/x/rimbu@0.13.5/core/main/exports.ts";
const { second } = Tuple;
Returns the second element of a Tuple.
Examples
Example 1
Example 1
const t = Tuple.of(1, 'a', true)
console.log(Tuple.second(t))
// => 'a'
Type Parameters
T extends Tuple.Source
Parameters
tuple: T
- the source tuple