Opal-Estate-Pro/node_modules/postcss-merge-longhand/dist/lib/identical.js
2019-09-13 11:27:52 +07:00

19 lines
449 B
JavaScript
Executable File

'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports['default'] = function () {
for (var _len = arguments.length, rules = Array(_len), _key = 0; _key < _len; _key++) {
rules[_key] = arguments[_key];
}
var candidate = rules[0].value;
return rules.every(function (_ref) {
var value = _ref.value;
return value === candidate;
});
};
module.exports = exports['default'];