is there any function like string.isnullorempty() in javascript

Viewed 33129

I always (thing != undefined || thing != null)?...:...; check. Is there any method will return bool after this check in javascript or jquery ?

And how would you add this check in jquery as a function?

4 Answers
Related