pub type Validator = Arc<dyn Fn(&str, &Value) -> Result<bool, String> + Send + Sync>;Expand description
The domain check run on activation only: Ok(true) passes, Ok(false) refuses it as failed validation, an
error refuses it with that message (TS validate returning true/undefined, false, or throwing).
Aliased Typeยง
pub struct Validator { /* private fields */ }