code: function (options) {
      return options.moduleRoot && options.remapModule && options.ignorePatterns
        && type(options.moduleRoot) === TYPES.STRING
        && type(options.remapModule) === TYPES.STRING
        && (
          (type(options.ignorePatterns) === TYPES.STRING || type(options.ignorePatterns) === TYPES.REGEXP)
          ||
          (
            type(options.ignorePatterns) === TYPES.ARRAY
            && options.ignorePatterns.every(function (pattern) {
              return type(pattern) === TYPES.STRING || type(pattern) === TYPES.REGEXP;
            })
          )
        );
    }
docs: Checks for moduleRoot, remapModule, and ignorePatterns at minimum
  Also checks to make sure they are the correct type
  @param {object} options
  @return {bool}