MCPcopy Create free account
hub / github.com/Crain99/cc-reverse / isObject

Function isObject

src/config/configLoader.js:119–121  ·  view source on GitHub ↗

* 判断值是否为对象 * @param {any} item 要检查的值 * @returns {boolean} 如果是对象返回 true,否则返回 false

(item)

Source from the content-addressed store, hash-verified

117 * @returns {boolean} 如果是对象返回 true,否则返回 false
118 */
119function isObject(item) {
120 return (item && typeof item === 'object' && !Array.isArray(item));
121}
122
123module.exports = { loadConfig, defaultConfig };

Callers 1

deepMergeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected