Skip to main content
Module

x/rambda/repeat-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {repeat} from 'rambda'
describe('R.repeat', () => { it('happy', () => { const result = repeat(4, 7)
result // $ExpectType readonly number[] }) it('curried', () => { const result = repeat(4)(7)
result // $ExpectType readonly number[] })})