Tests whether a value meets a validation or data type rule.
isValid(type, value, min, max, pattern)
→ returns boolean
Any
Array
Binary
boolean
creditcard
component
date
time
email
eurodate
float
guid
integer
Numeric
Query
range
Regex
regular_expression
ssn
social_security_number
String
Struct
telephone
time
URL
UUID
usdate
variablename
xml
zipcode
Use the isValid function with integer as the type.
isValid("integer", 235)
Expected Result: true
Use the isValid function with email as the type.
isValid("email", "user@example.com")
Expected Result: true