Skip to main content

check_max_items

Function check_max_items 

Source
pub fn check_max_items(len: usize, max: usize) -> Result<(), ValidationError>
Expand description

Rejects an array longer than its schema’s maxItems.