These are chat archives for ramda/ramda

10th
Feb 2018
Reda
@Reda_bex_twitter
Feb 10 2018 22:42
hey everyone
image.png
am I missing something here?
James Forbes
@JAForbes
Feb 10 2018 22:46
try whereEq
where expects functions on each key, so whereEq({ username: 'bob' }) is equivalent to: where({ username: equals('bob') })
but if you've only got 1 key to check, maybe look at propEq('username', 'bob')
Reda
@Reda_bex_twitter
Feb 10 2018 22:49
make sense :ok_hand:
thanks
James Forbes
@JAForbes
Feb 10 2018 22:52
:+1: