isUndefinedOrNull()

Checks if the object is undefined or null.

isUndefinedOrNull(Object obj)

obj: Type: Object. The object to check.

Type: Boolean

Returns true if the object is undefined or null, or false otherwise.