title: JavaScript/lodash: How to remove objects from object by value with omitBy?
body: <p>I have an object:</p>
  
  <pre><code>const obj = { 
    1: { "id": 1, "taskId": 1, },
    2: { "id": 2, "taskId": 2, },
    3: { "id": 3, "taskId": 2, },
    4: { "id": 4, "taskId": 3, },
  };
  </code></pre>
  
  <p>I need to remove all objects with keys 'taskId': 2. Have no idea how to write fn to use with omitBy. Can anyone help?</p>
  
  <pre><code>console.log(_.omitBy(obj, ???));
  </code></pre>
  
  <p>is it possible to do with "omitBy" function from lodash? or I need to find another way?</p>