class

Schematics::HashValidator(K, V)

Inherits Schematics::Validator / Reference / Object

Validator for Hash types

Constructors

new(key_validator : Schematics::Validator(K), value_validator : Schematics::Validator(V))
Source

Instance methods

call(value) : Hash(K, V) | Nil
Source
validate(value, path : String = "root") : ValidationResult
Source