These are chat archives for ramda/ramda

12th
Feb 2019
Daniel Pereira
@dpereira411
Feb 12 16:04
hey guys, what's the diff between filter and pickBy on an object?
Nik
@niksosf
Feb 12 17:11
@dpereira411 filter most often takes an array and returns an array, whereas pickBy takes an object and returns another.
Brad Compton (he/him)
@Bradcomp
Feb 12 17:34
@niksosf filter works well for objects too
The difference is that pickBy passes the key in addition to the value
Daniel Pereira
@dpereira411
Feb 12 18:40
oh yea!