filter_values function:
Filter an object by values. The first argument should be the object and the second should be a function to filter the values by.
Examples:
- running:
(filter_values {"a": 1, "aa": 2, "aaa": 3, "aaaa": 4}, (= 0 (% . 2)))will give:{"aa": 2, "aaaa": 4}Because it filters all the odds values
- running:
(filter_values [1, 2, 4], false)will return nothing