Returns whether the given object is null or undefined
the object to check
whether the given object is null or undefined
isNil(null); // trueisNil(undefined); // trueisNil({}); // false Copy
isNil(null); // trueisNil(undefined); // trueisNil({}); // false
Returns whether the given object is null or undefined