mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Minor format not in isKey.
This commit is contained in:
@@ -17,8 +17,7 @@ function isKey(value, object) {
|
||||
return false
|
||||
}
|
||||
const type = typeof value
|
||||
if (type == 'number' || type == 'boolean' ||
|
||||
value == null || isSymbol(value)) {
|
||||
if (type == 'number' || type == 'boolean' || value == null || isSymbol(value)) {
|
||||
return true
|
||||
}
|
||||
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
|
||||
|
||||
Reference in New Issue
Block a user