Stew.filterBy() - shysolocup/stews GitHub Wiki
removes entries that don't pass a check function in another object
type: Function
arguments:
- object
 Any:
object to go through
- checker
 Function:
goes through every entry of the given object with the function
if it returns false it removes that entry in the main stew
see Stew.forEach() for more info
| list: | pair: | 
const { Stew } = require('stews');
let arr = new Stew([ "abc", "def", "ghi" ]);
let arr2 = new Stew([ 1, 2, 3 ]);
console.log(arr.filterBy( arr2, (v, i) => {
    // if it's equal to 2 remove it
    return v != 2
})); | 
const { Stew } = require('stews');
let obj = new Stew({ key1: "val1", key2: "val2", key3: "val3" });
console.log(obj.filterBy( obj.values, (k, v, i) => {
    // if it's equal to "val2" remove it
    return v != "val2";
})); | 
Stew(2) [ "abc", "ghi" ]  | 
Stew(2) { key1: "val1", key3: "val3" } |