Skip to main content

Module validation

Module validation 

Source
Expand description

Validation utilities

Functionsยง

validate_charset
Validate that a string contains only allowed characters
validate_email
Validate an email address
validate_ipv4
Validate an IPv4 address
validate_json
Validate a JSON string
validate_length
Validate string length constraints
validate_pattern
Validate that a string matches a pattern
validate_port
Validate a port number
validate_semver
Validate a semantic version string
validate_url
Validate a URL