IsValid()
Determines if the value is of the right type as specified by the rule set passed in
Usage
BOOLEAN = IsValid(
p1,
p2,
p3,
p4
)
Argument | Summary |
---|---|
p1 | type - Values can be: range, regex, any, string, array, binary, boolean, component, date, email, java, time, xml, numeric, float, integer, url, variablename, creditcard, usdate, eurodate, ssn, social_security_number, telephone, zipcode, struct, uuid, guid |
p2 | value |
p3 | min/pattern - if type='range' then this is the min value; if type='regex' this is the regex pattern to use [optional] |
p4 | max - if type='range' then this is the max value to test against [optional] |