Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias Tuple.KeysOf
import { type Tuple } from "https://deno.land/x/rimbu@1.0.2/core/mod.ts";
const { KeysOf } = Tuple;

Returns the indices/keys that are in a tuple.

definition: [K in keyof T]: K[keyof T & number]