import { Tuple } from "https://deno.land/x/rimbu@0.13.5/core/main/index.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