Package

jto

Permalink

package jto

Visibility
  1. Public
  2. All

Value Members

  1. package validation

    Permalink

    Contains the validation API used by Form.

    Contains the validation API used by Form.

    For example, to define a custom constraint:

    val negative = Constraint[Int] {
      case i if i < 0 => Valid
      case _ => Invalid("Must be a negative number.")
    }

Ungrouped