Skip to main content

Module text

Module text 

Source
Expand description

Port of src/parser/utils/text.ts.

Functionsยง

camelize
font-size -> fontSize
dasherize
fontSize -> font-size
equals_ignore_case
compare ignoring the case of the ascii letters
lowercase
lowercase string, like String.prototype.toLowerCase(). the string is borrowed when it has no uppercase letter
to_lower_case
String.prototype.toLowerCase()