exists

abstract fun exists(): Boolean

测试此抽象路径名表示的文件或目录是否存在.

参考 File.exists

Return

当且仅当此抽象路径名表示的文件或目录存在时为 true,否则为 false