delete

abstract fun delete(@Nullable paths: Array<@Nullable Any>): Boolean(source)

Deletes files and directories.

Return

true if anything got deleted, false otherwise

Parameters

paths

Any type of object accepted by files