pub fn check_function(func: &Function) -> Option<Rejection>Expand description
Convenience wrapper: return the first rejection or None.
Useful for the call-site shortcut βis this function admissible?β β
avoids the Vec allocation when the caller does not need the full
list. Equivalent to scan_function(func).into_iter().next() but does
not walk the rest of the function once a rejection is found.