has-inherit.js 202 B

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