❤ Benefits

Single value check

Check single value against one type.

Multiple value check

Check every of multiple values against one type.

Check some of the multiple values against one type.

Check one by one of the multiple values against one type.

Guard the value type

Predefined functions to guard the most commonly used types.

Objects consisting of check and guard functions

Predefined objects that contain name-specific functionalities.

Object type that consists of all the guard and check functions.

Object are, is and isNot to check the values.

Object guard to guard the values.

Callback

Each function has a callback parameter to handle the check result before it's returned.

The callback function includes a payload parameter consisting of properties specific to the core function, and it is extendable by custom properties.

Payload

Each function has an optional payload parameter to assign custom properties to the payload of the given callback function.

Last updated