Checks
Is Null

The isNull Check

The isNull check is very basic, returning true if a provided object is null.

❗️

If you want stop execution if an object is null, you should use the exitIfNull check, which reduces the amount of code needed for the same action.

The usage of this check is as follows:

Checks.isNull(object);
Last updated on February 15, 2023