pair
import { pair } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/pair.ts";Creates a Pair from two values first and second with types A and B respectively. Used to quickly construct a Pair.
@example
import * as P from "./pair.ts";
const nameAndAge = P.pair("Brandon", 37);
const name = P.getFirst(nameAndAge); // "Brandon"
const age = P.getSecond(nameAndAge); // 37