Skip to main content

has_run

Function has_run 

Source
fn has_run(
    text: &str,
    prefix: &str,
    min: usize,
    class: fn(char) -> bool,
) -> bool
Expand description

Whether text holds prefix followed by at least min characters of class, the prefix not being the tail of a longer word (risk-... is not a key).