1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-03 20:30:04 +02:00
Files
minifyfromhtml/node_modules/clean-css/lib/optimizer/level-2/properties/has-inherit.js
2022-08-20 18:51:33 +02:00

10 lines
202 B
JavaScript

function hasInherit(property) {
for (var i = property.value.length - 1; i >= 0; i--) {
if (property.value[i][1] == 'inherit') { return true; }
}
return false;
}
module.exports = hasInherit;