import { assert } from "https://deno.land/x/unknownutil@v3.1.0/mod.ts";
Asserts that the given value satisfies the provided predicate.
import { assert } from "./util.ts";
import is from "./is.ts";
const a: unknown = "hello";
assert(a, is.String);
// a is now narrowed to string