deno.land / x / rambda@v9.1.1 / source / whereAny-spec.ts

whereAny-spec.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
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 })})
rambda

Version Info

Tagged at
2 months ago