Skip to main content
Module

x/ramda/mod.ts>times

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

Calls an input function n times, returning an array containing the results of those function calls.

fn is passed one argument: The current value of n, which begins at 0 and is gradually incremented to n - 1.