function Tuple.lastimport { Tuple } from "https://deno.land/x/rimbu@0.13.2/mod.ts"; const { last } = Tuple; last<T extends readonly unknown[], R>(tuple: readonly [...T, R]): RReturns the last element of a Tuple. ExamplesExample 1 const t = Tuple.of(1, 'a', true) console.log(Tuple.last(t)) // => true Type ParametersT extends readonly unknown[]RParameterstuple: readonly [...T, R] the source tuple ReturnsR