stylelint-bundle-worker.js
function wrap(type, fn) {
    return function plugin() {
      return this.type === type ? fn.apply(this, arguments) : plugin;
    };
  }
function wrap(type, fn) {
    return function plugin() {
      return this.type === type ? fn.apply(this, arguments) : plugin;
    };
  }
function wrap ( type , fn ) { return function plugin ( ) { return this . type === type ? fn . apply ( this , arguments ) : plugin ; } ; }
Wrap a named plugin function so that it's only called on objects of the
given `type`

@param {String} `type`
@param {Function} `fn` Plugin function
@return {Function}
Wrap a named plugin function so that it s only called on objects of the given type