public native readonly property isFile as Boolean
Returns true if the path exists and is a regular file. Symbolic links to existing regular files are followed.
Whether the target is a regular file, rather than a directory or another filesystem object.
import klyn.io
path = FilePath("notes.txt")
if path.isFile:
print(path.size)