Vex.Validators.String (commanded_aggregateless v1.0.0)

Copy Markdown

A string validator that allows nil values and requires non-blank strings

Intended to be used with Vex to validate string fields.

Summary

Functions

Callback implementation for c:Vex.Validator.Behaviour.validate/2.

Callback implementation for c:Vex.Validator.Behaviour.validate/3.

Functions

validate(data, options \\ [])

Callback implementation for c:Vex.Validator.Behaviour.validate/2.

validate(data, context, options)

Callback implementation for c:Vex.Validator.Behaviour.validate/3.