Skip to main content

user_matches

Function user_matches 

Source
fn user_matches(user: &SlackUser, needle: &str) -> bool
Expand description

Whether user answers to needle, which is already lowercase: a case-insensitive substring over the handle, the real name and the display name, which is the one people actually type.