Main API
Codec.withConstraint & Codec.withGuard
Codec.withConstraint and Codec.withGuard are shorthands for creating a new ft.Constraint Codecs. ft.Constraint allows you to add an additional custom validation function on top of the base Funtypes validators.
For full documentation, see Constraint & Guard.