vibe-d v0.10.1 (2024-09-07T15:50:39Z)
Home
Dub
Repo
validateString
index
vibe
utils
validation
Checks if a string falls within the specified length range.
string
validateString
(string str, size_t min_length, size_t max_length, string entity_name)
@
safe
string
validateString
(
string
str
,
size_t
min_length
= 0
,
size_t
max_length
= 0
,
string
entity_name
= "String"
)
bool
validateString
(R error_sink, string str, size_t min_length, size_t max_length, string entity_name)
Meta
Source
See Implementation
index
vibe
utils
validation
functions
validateEmail
validateIdent
validatePassword
validateString
validateUserName
Checks if a string falls within the specified length range.