SyntaxFix
Write A Post
Hire A Developer
Questions
You can wrap it in your own function:
function isNullAndUndef(variable) { return (variable !== null && variable !== undefined); }