has-inherit.js 204 B

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