* Casts `value` to an empty array if it's not an array like object. * * @private * @param {*} value The value to inspect. * @returns {Array|Object} Returns the cast array-like object.
(value)
| 12172 | * @returns {Array|Object} Returns the cast array-like object. |
| 12173 | */ |
| 12174 | function castArrayLikeObject(value) { |
| 12175 | return isArrayLikeObject(value) ? value : []; |
| 12176 | } |
| 12177 | |
| 12178 | /** |
| 12179 | * Casts `value` to `identity` if it's not a function. |
nothing calls this directly
no test coverage detected