import { ensure } from "https://deno.land/x/dpp_vim@v0.2.0/deps.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);