addRule

fun addRule(validator: VGSValidator)

Adds a validation rule to the composite validator.

Parameters

validator

The validator to add.