cleanupIconKeyword

external fun cleanupIconKeyword(keyword: String, convertCamelCase: Boolean = definedExternally): String

Clean up an icon keyword.

Lowercases the value, replaces whitespace and _ . : / \ with dashes, removes other invalid characters, collapses repeated dashes and trims leading/trailing dashes. With convertCamelCase, camelCase is converted to dash-case first.