Function cairo_lang_syntax::node::helpers::is_single_arg_attr
source ยท pub fn is_single_arg_attr(
db: &dyn SyntaxGroup,
attr: &Attribute,
arg_name: &str,
) -> bool
Expand description
Checks if the given attribute has a single argument with the given name.