text: 'use strict';
  
  exports.__esModule = true;
  exports.shouldInclude = undefined;
  
  var _some2 = require('lodash/some');
  
  var _some3 = _interopRequireDefault(_some2);
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  var shouldInclude = exports.shouldInclude = function shouldInclude(displayName, _ref) {
    var include = _ref.include,
        exclude = _ref.exclude;
  
    return (0, _some3.default)(include, function (r) {
      return r.test(displayName);
    }) && !(0, _some3.default)(exclude, function (r) {
      return r.test(displayName);
    });
  };