diff --git a/.internal/isKey.js b/.internal/isKey.js index 7cbba64e2..b28d7a664 100644 --- a/.internal/isKey.js +++ b/.internal/isKey.js @@ -17,7 +17,7 @@ function isKey(value, object) { return false } const type = typeof value - if (type == 'number' || type == 'symbol' || type == 'boolean' || + if (type == 'number' || type == 'boolean' || value == null || isSymbol(value)) { return true }