Skip to main content

name_matches

Function name_matches 

Source
fn name_matches(server: &ServerName, needle: Option<&str>) -> bool
Expand description

Case-insensitive substring match of the server name, mirroring Synapse’s LIKE %needle%. A None or empty needle matches every server.