Contents

Roo

File.exists?

Returns True if this file exists on disk, False otherwise.

var f = File("/Users/garry/Downloads/ghost.txt")
f.exists? # => False