ditto-lib / live.ditto / DocumentPathSanitizer / sanitizeStringKey

sanitizeStringKey

fun sanitizeStringKey(key: String, isInitial: Boolean = false): String