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
| Attribute | Type | Description |
|---|---|---|
| strict | bool | Determines whether the validator enforces strict integer type checking or allows coercion from other types. |
Constructor
Signature
def IntValidator(
strict: bool
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| strict | bool | Determines whether the validator should enforce strict integer checking. |
Signature
def IntValidator(
strict: boolean = null
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| strict | boolean = null | Determines if the validator should strictly enforce integer types or allow compatible type conversions. |