Determine if input is null or undefined.
input
null
undefined
isNullish(null); // trueisNullish(0); // false Copy
isNullish(null); // trueisNullish(0); // false
Determine if
inputisnullorundefined.