* 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)
| 524 | * @returns {Array} Returns the cast property path array. |
| 525 | */ |
| 526 | function castPath(value) { |
| 527 | return isArray(value) ? value : stringToPath(value); |
| 528 | } |
| 529 | |
| 530 | /** |
| 531 | * Gets the data for `map`. |
no outgoing calls
no test coverage detected
searching dependent graphs…