pub fn both_some_and<X, Y>( l: Option<X>, r: Option<Y>, pred: impl FnMut(X, Y) -> bool, ) -> bool
Checks if the two Options are both Some and pass the predicate function.
Option
Some