Skip to main content
Module

x/ramda/mod.ts>until

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

Takes a predicate, a transformation function, and an initial value, and returns a value of the same type as the initial value. It does so by applying the transformation until the predicate is satisfied, at which point it returns the satisfactory value.