Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rambda/index.d.ts>times

Faster and smaller alternative to Ramda
Latest
function times
import { times } from "https://deno.land/x/rambda@9.2.1/index.d.ts";

It returns the result of applying function fn over members of range array.

The range array includes numbers between 0 and howMany(exclusive).

Parameters

fn: (i: number) => T
howMany: number

Parameters

fn: (i: number) => T

Returns

(howMany: number) => T[]