MCPcopy
hub / github.com/sequelize/sequelize / getComplexSize

Function getComplexSize

lib/utils.js:517–519  ·  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

515 * @private
516 */
517function getComplexSize(obj) {
518 return Array.isArray(obj) ? obj.length : getComplexKeys(obj).length;
519}
520exports.getComplexSize = getComplexSize;
521
522/**

Callers

nothing calls this directly

Calls 1

getComplexKeysFunction · 0.85

Tested by

no test coverage detected