Skip to main content
Module

x/rambda/anyPass-spec.ts

Faster and smaller alternative to Ramda
Go to Latest
File
import {anyPass} from 'rambda'
describe('anyPass', () => { it('happy', () => { const x = anyPass<number>([ y => { y // $ExpectType number return typeof y === 'number' }, y => { return y > 0 }, ])(11)
x // $ExpectType boolean })})