Skip to main content

accepts_pattern

Function accepts_pattern 

Source
pub fn accepts_pattern(name: &str) -> bool
Expand description

Whether name accepts the CIP-228 (value, pattern) form — every constructor does, so this is is_constructor, the one vocabulary predicate.