Class: ObjectUtils

ObjectUtils()

Utility class for common object-related checks.

Constructor

new ObjectUtils()

Source:

Methods

(static) isNull(object) → {boolean}

Checks if the given object is strictly null.

Parameters:
Name Type Description
object *

The object to check.

Source:
Returns:

True if the object is null, false otherwise.

Type
boolean

(static) isNullOrUndefined(object) → {boolean}

Checks if the given object is either null or undefined.

Parameters:
Name Type Description
object *

The object to check.

Source:
Returns:

True if the object is null or undefined, false otherwise.

Type
boolean

(static) isUndefined(object) → {boolean}

Checks if the given object is strictly undefined.

Parameters:
Name Type Description
object *

The object to check.

Source:
Returns:

True if the object is undefined, false otherwise.

Type
boolean