my-idlers/node_modules/clean-css/lib/optimizer/level-2/properties/has-unset.js

11 lines
198 B
JavaScript
Raw Normal View History

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