Opal-Estate-Pro/node_modules/postcss-merge-longhand/dist/lib/identical.js

19 lines
449 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
'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'];