name

@NotNull
open fun name(): @NotNull String

Returns the name of the file or directory represented by this path.

Return

the name

Since

3.1.0