Skip to main content
Module

x/rambda/allPass-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {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 })})