parcoursup/node_modules/clean-css/lib/optimizer/level-2/properties/has-same-values.js
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00

15 lines
271 B
JavaScript

function hasSameValues(property) {
var firstValue = property.value[0][1];
var i, l;
for (i = 1, l = property.value.length; i < l; i++) {
if (property.value[i][1] != firstValue) {
return false;
}
}
return true;
}
module.exports = hasSameValues;