baseName

abstract val baseName: String

Returns the base name of this object, or in other words, the last segment of the path.

Examples:

Given the object path foo/bar/fizz/buzz the base name would be "buzz"

Given the object path foo the base name would be "foo"