CityBEM-CityLayers-SaeedRay.../node_modules/xtend/has-keys.js

8 lines
162 B
JavaScript

module.exports = hasKeys
function hasKeys(source) {
return source !== null &&
(typeof source === "object" ||
typeof source === "function")
}