You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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;
|
|
|