import { cond } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";
Creates a function that iterates over pairs
and invokes the corresponding
function of the first predicate to return truthy. The predicate-function
pairs are invoked with the this
binding and arguments of the created
function.