Skip to main content
Module

x/ramda/source/when.js

:ram: Practical functional Javascript
Latest
import * as mod from "https://deno.land/x/ramda@v0.27.2/source/when.js";

Variables

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.