tethys-feature-service/node_modules/proj4/lib/extend.js

15 lines
311 B
JavaScript
Raw Permalink Normal View History

2023-10-02 13:04:02 +00:00
export default function(destination, source) {
destination = destination || {};
var value, property;
if (!source) {
return destination;
}
for (property in source) {
value = source[property];
if (value !== undefined) {
destination[property] = value;
}
}
return destination;
}