import { ensure } from "https://deno.land/x/unknownutil@v3.5.1/util.ts";
Ensures that the given value satisfies the provided predicate.
import { ensure } from "./util.ts";
import is from "./is.ts";
const a: unknown = "hello";
const _: string = ensure(a, is.String);