src/plugins/index.js
function keyFilter(obj, predicate) {
  var result = {}, key; // eslint-disable-line

  for (key in obj) { // eslint-disable-line
    if (obj[key] && predicate(key)) {
      result[key] = obj[key];
    }
  }

  return result;
}
function keyFilter(obj, predicate) {
  var result = {}, key; // eslint-disable-line

  for (key in obj) { // eslint-disable-line
    if (obj[key] && predicate(key)) {
      result[key] = obj[key];
    }
  }

  return result;
}
function keyFilter ( obj , predicate ) { var result = { } , key ; // eslint-disable-line for ( key in obj ) { // eslint-disable-line if ( obj [ key ] && predicate ( key ) ) { result [ key ] = obj [ key ] ; } } return result ; }
a basic util filter function
a basic util filter function