isFile

abstract fun isFile(): Boolean

测试此抽象路径名表示的文件是否为普通文件.

参考 File.isFile

Return

当且仅当此抽象路径名表示的文件存在并且是一个普通文件时为 true,否则为 false