File.regular-question-mark
You're seeing just the function
regular-question-mark
, go back to File module for more information.
Specs
Returns true
if the path is a regular file.
This function follows symbolic links, so if a symbolic link points to a
regular file, true
is returned.
Options
The supported options are:
:raw
- a single atom to bypass the file server and only check for the file locally
Examples
File.regular?(__ENV__.file)
#=> true