1×
Become a member
to unlock all features
Autoplay

    Declaratively Map Predicates to Object Properties Using Ramda where

    ramdaRamda

    Sometimes you need to filter an array of objects or perform other conditional logic based on a combination of factors. Ramda's where function gives you a concise way to declaratively map individual predicates to object properties, that when combined, cover the various facets of your conditions. In this lesson, we'll look at how this powerful function can be used for scenarios requiring a complex predicate function.