blob: b1bf7d48dc5b35519338aae59a0e90252ce38df1 [file] [log] [blame]
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = _default;
/**
* Check if an options object contains a certain `except` keyword.
* It will look for an `except` property whose value should
* be an array of keywords.
*
* @param {object} options
* @param {string} exceptionName
* @return {boolean}
*/
function _default(options, exceptionName) {
return options && options.except && options.except.includes(exceptionName);
}