casefold

Values

pub fn casefold(s: String) -> String

Converts a String to a case-agnostic comparable string. casefold is preferred over string.lowercase when two strings are to be compared for equality.

Search Document