Skip to main content

before

Function before 

Source
pub fn before<F>(f: F, spec: impl Into<Spec>) -> Node
where F: Fn(&mut State<'_>, &mut Update) -> bool + Send + Sync + 'static,
Expand description

A custom validator run before the structural check.