mirror of
https://github.com/cp6/my-idlers.git
synced 2025-06-08 01:58:09 +00:00
14 lines
271 B
JavaScript
Vendored
14 lines
271 B
JavaScript
Vendored
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;
|