Skip to main content

kind_matches

Function kind_matches 

pub fn kind_matches(pattern: &str, kind: &str) -> bool
Expand description

Whether the event kind kind matches pattern: the same id, or a prefix ending in .* (vault.* matches vault.changed), or * for every kind. Every implementation reads patterns this way.