import { when } from "https://deno.land/x/ramda@v0.27.2/source/index.js";
Tests the final argument by passing it to the given predicate function. If
the predicate is satisfied, the function will return the result of calling
the whenTrueFn
function with the same argument. If the predicate is not
satisfied, the argument is returned as is.