Skip to main content
Module

x/ramda/mod.ts>unless

:ram: Practical functional Javascript
Latest
variable unless
import { unless } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Tests the final argument by passing it to the given predicate function. If the predicate is not satisfied, the function will return the result of calling the whenFalseFn function with the same argument. If the predicate is satisfied, the argument is returned as is.