folderBaseName

fun folderBaseName(vararg parts: Any?): String

Builds a base name by joining sanitized, non-blank parts with the global file name separator.

Empty or null parts are ignored. If no valid parts remain, the fallback "Run" is returned.

Return

A sanitized base name, or "Run" if nothing usable is provided.

Parameters

parts

Arbitrary parts to concatenate (any type; converted via toString()).

See also