Skip to main content

IntValidator

This class provides functionality for validating integer values, offering a strict mode to enforce precise type checking. It is designed to ensure that input data conforms to integer specifications before further processing.

Attributes

AttributeTypeDescription
strictboolDetermines whether the validator enforces strict integer type checking or allows coercion from other types.

Constructor

Signature

def IntValidator(
strict: bool
) - > null

Parameters

NameTypeDescription
strictboolDetermines whether the validator should enforce strict integer checking.

Signature

def IntValidator(
strict: boolean = null
) - > null

Parameters

NameTypeDescription
strictboolean = nullDetermines if the validator should strictly enforce integer types or allow compatible type conversions.