Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 312 Bytes

is_readable.markdown

File metadata and controls

22 lines (16 loc) · 312 Bytes

is_readable

{{code:php $readable = is_readable('/path/to/foobar'); var_export($readable);

//=> true

}}

{{code:ruby readable = File.readable?('/path/to/foobar') p readable

#=> true

}}

{{related: filesystem/is_writable
filesystem/file_exists
filesystem/fgets }}