Skip to main content
Module

x/cc_types/mod.ts>Pair

Crypto currency utility types and constants
Latest
type alias Pair
import { type Pair } from "https://deno.land/x/cc_types@v1.0.0-beta.13/mod.ts";

Make currency pair with no duplicate

Type Parameters

Q extends string
B extends string
optional
Separator extends string = "_"
optional
_ = Q
definition: B extends _ ? Pair<Exclude<Q, B>, B, Separator> : Join<Q, B, Separator>