Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

unknown

import { unknown } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/comparable.ts";

A Comparable that can compare any unknown values (and thus can compare any values). Underneath it uses strict equality for the comparison.

@example
import { unknown } from "./comparable.ts";

const result1 = unknown.compare(1)("Hello"); // false
const result2 = unknown.compare(1)(1); // true
const unknown: Comparable<unknown>;