Skip to main content

is_relation_attribute

Function is_relation_attribute 

pub fn is_relation_attribute(attribute: &Attribute) -> bool
Expand description

Whether attribute is a @relation / @relation(...) declaration — by name, so a bare @relation counts too. @relationship does not.