google-map-react
Version:
isomorphic google map react component, allows render react components on the google map
20 lines (17 loc) • 406 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = isArraysEqualEps;
function isArraysEqualEps(arrayA, arrayB, eps) {
if (arrayA && arrayB) {
for (var i = 0; i !== arrayA.length; ++i) {
if (Math.abs(arrayA[i] - arrayB[i]) > eps) {
return false;
}
}
return true;
}
return false;
}
module.exports = exports["default"];