Jul 29, 2017 · 1 min read
That would only have been part of it. It is also designed to be more than a simple key/pair mapping. For example, you could have a test that checks for even numbers. or some other type of computation.
It’s very similar to ramda’s cond in this way. http://ramdajs.com/docs/#cond
