Function try_with

Source
pub fn try_with<F, R>(f: F) -> Result<R, ExprError>
where F: FnOnce(&bool) -> R,