x/rambda/source/allPass-spec.ts
123456789101112131415161718import {allPass} from 'rambda'describe('allPass', () => { it('happy', () => { const x = allPass<number>([ y => { y // $ExpectType number return typeof y === 'number' }, y => { return y > 0 }, ])(11) x // $ExpectType boolean })})