Files

8 lines
162 B
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
module.exports = hasKeys
function hasKeys(source) {
return source !== null &&
(typeof source === "object" ||
typeof source === "function")
}