* getComplexSize * * @param {object|Array} obj * @returns {number} Length of object properties including operators if obj is array returns its length * @private
(obj)
| 515 | * @private |
| 516 | */ |
| 517 | function getComplexSize(obj) { |
| 518 | return Array.isArray(obj) ? obj.length : getComplexKeys(obj).length; |
| 519 | } |
| 520 | exports.getComplexSize = getComplexSize; |
| 521 | |
| 522 | /** |
nothing calls this directly
no test coverage detected