Skip to main content
Module

x/rambda/source/whereAny-spec.ts

Faster and smaller alternative to Ramda
Latest
File
import {whereAny} from 'rambda'
describe('R.whereAny', () => { it('happy', () => { const conditions = { a: (a: number) => a > 1, b: (b: number) => b > 2, } const result = whereAny(conditions, {b: 3}) result // $ExpectType boolean })})