deno.land / x / rambda@v9.1.1 / source / all-spec.ts
12345678910111213141516171819202122import {all} from 'rambda'
describe('all', () => { it('happy', () => { const result = all( x => { x // $ExpectType number return x > 0 }, [1, 2, 3] ) result // $ExpectType boolean }) it('curried needs a type', () => { const result = all<number>(x => { x // $ExpectType number return x > 0 })([1, 2, 3]) result // $ExpectType boolean })})
Version Info