class type t =Inheritsobject..end
method getByField : 'a. Js.js_string Js.t -> 'a Js.t Js.js_array Js.t Js.methReturns all of the errors for the given field
Parameters:
Js.js_string Js.t
The field to get errors for
Returns:
_ Js.t Js.js_array Js.t
All errors for the given field
method isValid : bool Js.t Js.methReturns true if there are no errors in the collection