IsValid
Determine whether the given value is a string, numeric, or date.Arrays, structs, queries, closures, classes and components, and other complex structures will return false.
Note we expressly do not support the eurodate
type, since date formats vary across EU countries. For this, prefer the LSIsDate( date, locale )
method instead.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The type to validate the value against | |
|
|
| Value to test for validaty on a given type | |
|
|
| The minimum value for the range type or a pattern to validate the value against | |
|
|
| The maximum value for the range type | |
|
|
| The pattern to validate the value against |
Examples
Related
Last updated