public native readonly property name as String
Returns the final path segment.
import klyn.io path = Path("/tmp/demo.txt") assert path.name == "demo.txt"