The object to be checked. It can be of any type.
true
if the object is undefined
or null
, otherwise false
.
// Returns: true
ix.api.is.isUndefinedOrNull(undefined);
ix.api.is.isUndefinedOrNull(null);
// Returns: false
ix.api.is.isUndefinedOrNull("Hello, World!");
ix.api.is.isUndefinedOrNull(0);
ix.api.is.isUndefinedOrNull(false);
Determines whether the provided object is undefined or null.
This function checks if the provided object is
undefined
ornull
. It is used to validate if the object has been assigned a value.