validation

This module provides functions used to validate various data types used within the library.

Functions

Type validation module

wwdtm.validation.valid_int_id(int_id)

Validates an ID value as a signed 32-bit integer used in ID fields in MySQL tables.

Parameters

int_id (int) – ID number to validate

Return type

bool

Returns

True or False, based on if the integer falls inclusively between 0 and 2147483647