GT2/GT2-Android/node_modules/xtend/has-keys.js

8 lines
162 B
JavaScript
Raw Normal View History

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