Skip to main content
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@0.12.3/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]