Validation().validations
The Validation().validations
property returns an Array
that contains grouped Validation
objects.
Value
An Array
of Validation
objects.
Description
On a single Validation
object, this property returns an empty Array
. On a grouping Validation
, this property returns an Array
of the grouped Validation
objects which were passed in the Validation.group()
or Validation.glue()
method.
Examples
In this example two Validation
objects are grouped into one an then accessed through the grouping Validation
object’s .validations
property to add a validated state callback to each.