literal
import { literal } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/comparable.ts";Creates a Comparable that compares a union of literals using strict equality.
@example
import { literal } from "./comparable.ts";
const { compare } = literal(1, 2, "Three");
const result1 = compare(1)("Three"); // false
const result2 = compare("Three")("Three"); // true