Refy
Inputs
Validator
The RefyInputValidator
class is useful
to validate the inputs
Author
N7ghtm4r3 - Tecknobit
See also
Properties
colorRegex
the
.HEX_COLOR_PATTERN validator
HEX_COLOR_PATTERN
the patter
for a valid hex code of a color
MAX_DESCRIPTION_LENGTH
the
max valid length for the description field
MAX_TAG_NAME_LENGTH
the max
valid length for the tag name
MAX_TITLE_LENGTH
the max
valid length for the title
WRONG_TAG_NAME
message to use
when the tag name of the user is not valid
Functions
Method to validate a collection color
Method to validate a payload of collection
Method to check whether a map instance is valid
Method to validate a description
Method to validate a payload of link
Method to validate a link resource (url)
Method to validate a tag name
Method to validate a title