boolean method

FormValidator boolean()

Validate a value is a boolean

Implementation

FormValidator boolean() {
  _addRule("boolean");
  return this;
}