MCPcopy Index your code
hub / github.com/sequelize/sequelize / getComplexSize

Function getComplexSize

src/utils.js:530–532  ·  view source on GitHub ↗

* getComplexSize * * @param {object|Array} obj * @returns {number} Length of object properties including operators if obj is array returns its length * @private

(obj)

Source from the content-addressed store, hash-verified

528 * @private
529 */
530function getComplexSize(obj) {
531 return Array.isArray(obj) ? obj.length : getComplexKeys(obj).length;
532}
533exports.getComplexSize = getComplexSize;
534
535/**

Callers

nothing calls this directly

Calls 1

getComplexKeysFunction · 0.85

Tested by

no test coverage detected