Skip to main content
Module

x/rambda/whereEq-spec.ts

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