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

x/rimbu/typical/mod.ts>StrNum.SymTup

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

A symmetric tuple, where the order or the elements does not matter. As an example: SymTup<'a', 1> is equal to SymTup<1, 'a'>

definition: [A, B] | [B, A]