setRule

fun setRule(rule: VGSInfoRule)

Sets a validation rule for the field.

Parameters

rule

The validation rule to set.