deno.land / x / rambda@v9.1.1 / source / whereAny.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
export function whereAny(conditions, input){ if (input === undefined){ return _input => whereAny(conditions, _input) } for (const prop in conditions){ if (conditions[ prop ](input[ prop ])){ return true } }
return false}
rambda

Version Info

Tagged at
2 months ago