* Converts `value` to an object if it is not one. * * @private * @param {*} value The value to process. * @returns {Object} Returns the object.
(value)
| 5962 | * @returns {Object} Returns the object. |
| 5963 | */ |
| 5964 | function toObject(value) { |
| 5965 | return isObject(value) ? value : Object(value); |
| 5966 | } |
| 5967 | |
| 5968 | /** |
| 5969 | * Converts `value` to property path array if it is not one. |
no test coverage detected