Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/async/tee.ts>Tuple

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
type alias Tuple
import { type Tuple } from "https://deno.land/std@0.216.0/async/tee.ts";

Utility for representing n-tuple. Used in tee.

Type Parameters

T
N extends number
definition: N extends N ? number extends N ? T[] : TupleOf<T, N, []> : never