Yeah, it shouldn't never get called with an invalid value from isHash / isArray, but I agree and it doesn't hurt to add extra validation to `isNumber` itself - aeb0b31342cfb7b8444e5cebd17c4d419009ebf1