isNullOrEmpty gets its name from .NET's String.IsNullOrEmpty(String)
method. After using it a few times I got tired of the extra code required to do similar things in JavaScript, so created this utility function which I then promptly extended to correctly handle any type of variable.
// TODO
// TODO