import { unless } from "https://deno.land/x/rambda@9.4.1/rambda.js";
The method returns function that will be called with argument input
.
If predicate(input)
returns false
, then the end result will be the outcome of whenFalse(input)
.
In the other case, the final output will be the input
itself.