Skip to main content

check

Function check 

Source
pub fn check(
    value: &Value,
    constraint: Constraint<'_>,
    ctx: &mut ValidationContext,
)
Expand description

Apply constraint to value, reporting at the current location.