Function fyrox_core::cmp_strings_case_insensitive

source ยท
pub fn cmp_strings_case_insensitive(
    a: impl AsRef<str>,
    b: impl AsRef<str>
) -> bool
Expand description

Compares two strings using case-insensitive comparison. This function does not allocate any any memory and significantly faster than a.to_lowercase() == b.to_lowercase().