Skip to main content

is_variant

Function is_variant 

Source
pub fn is_variant(siblings: &BTreeMap<String, Node>, name: &str) -> bool
Expand description

Whether name is one of the variants a sibling choice element lists.