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

x/rimbu/core/mod.ts>Tuple.IsTuple

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Tuple.IsTuple
import { type Tuple } from "https://deno.land/x/rimbu@1.2.0/core/mod.ts";
const { IsTuple } = Tuple;
definition: T extends { length: infer L; } ? 0 extends L ? false : true : false