Contents

Roo

File.readable?

Returns True if the script has read access to this File object. Returns False if the script doesn’t have access. If the file doesn’t exist then it also returns False.

var f = File("/Users/garry/Desktop/test.roo")
f.readable? # => True

f = File("/Users/not_me/Desktop")
f.readable? # => False