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