getSubset
    algebra.getSubset(a, b, bData)
  
  Gets a set's items given a super set b and its items.
algebra.getSubset(
  {type: "dog"},
  {},
  [{id: 1, type:"cat"},
   {id: 2, type: "dog"},
   {id: 3, type: "dog"},
   {id: 4, type: "zebra"}]
) //-> [{id: 2, type: "dog"},{id: 3, type: "dog"}]
Parameters
Returns
 {Array<Object>}: 
The data in set a.
 GitHub
GitHub Twitter
Twitter