pub fn opts_present(&self, names: &[String]) -> bool {
        names.iter().any(|nm| {
            match find_opt(&self.opts, Name::from_str(&nm)) {
                Some(id) if !self.vals[id].is_empty() => true,
                _ => false,
            }
        })
    }
/// Returns true if any of several options were matched.
Returns true if any of several options were matched.
Returns true if any of several options were matched .
pub fn opts_present(&self, names: &[String]) -> bool {
        names.iter().any(|nm| {
            match find_opt(&self.opts, Name::from_str(&nm)) {
                Some(id) if !self.vals[id].is_empty() => true,
                _ => false,
            }
        })
    }
pub fn opts_present ( & self , names : & [ String ] ) -> bool { names . iter ( ) . any ( | nm | { match find_opt ( & self . opts , Name :: from_str ( & nm ) ) { Some ( id ) if ! self . vals [ id ] . is_empty ( ) => true , _ => false , } } ) }
Returns true if any of several options were matched.
Returns true if any of several options were matched .
&self
names
&[String]
&self
names
&[String]