mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 04:40:05 +02:00
8 lines
162 B
JavaScript
8 lines
162 B
JavaScript
module.exports = hasKeys
|
|
|
|
function hasKeys(source) {
|
|
return source !== null &&
|
|
(typeof source === "object" ||
|
|
typeof source === "function")
|
|
}
|