mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Bump to v4.10.0.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import baseCastPath from './_baseCastPath';
|
||||
import castPath from './_castPath';
|
||||
import isArguments from './isArguments';
|
||||
import isArray from './isArray';
|
||||
import isIndex from './_isIndex';
|
||||
@@ -16,7 +16,7 @@ import isString from './isString';
|
||||
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
||||
*/
|
||||
function hasPath(object, path, hasFunc) {
|
||||
path = isKey(path, object) ? [path] : baseCastPath(path);
|
||||
path = isKey(path, object) ? [path] : castPath(path);
|
||||
|
||||
var result,
|
||||
index = -1,
|
||||
|
||||
Reference in New Issue
Block a user