* Casts `value` to a path array if it's not one. * * @private * @param {*} value The value to inspect. * @returns {Array} Returns the cast property path array.
(value)
| 570 | * @returns {Array} Returns the cast property path array. |
| 571 | */ |
| 572 | function castPath(value) { |
| 573 | return isArray(value) ? value : stringToPath(value); |
| 574 | } |
| 575 | |
| 576 | /** |
| 577 | * Gets the data for `map`. |
no outgoing calls
no test coverage detected
searching dependent graphs…