Kien Vu
07/11/2023, 3:40 AM"...${if (debug) "-debug" else ""}-..."
ephemient
07/11/2023, 3:41 AMbuildString {
append("...")
if (debug) append("-debug")
append("-..."
}
ephemient
07/11/2023, 3:42 AMlistOfNotNull(
"...",
if (debug) "debug" else null,
"...",
).joinToString(separator = "-")
might be more natural but at a glance I don't think this is one of themKien Vu
07/11/2023, 3:45 AMbuildString
one 😛
This make me less miss the Java ... ? .. : ..
things 😄