mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Minor format nit for baseCastPath. [ci skip]
This commit is contained in:
@@ -2339,9 +2339,7 @@
|
|||||||
* @returns {Array} Returns the cast property path array.
|
* @returns {Array} Returns the cast property path array.
|
||||||
*/
|
*/
|
||||||
function baseCastPath(value) {
|
function baseCastPath(value) {
|
||||||
return isArray(value)
|
return isArray(value) ? value : stringToPath(value);
|
||||||
? value
|
|
||||||
: stringToPath(value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user