File.regular-question-mark

You're seeing just the function regular-question-mark, go back to File module for more information.
Link to this function

regular?(path, opts \\ [])

View Source

Specs

regular?(Path.t(), [regular_option]) :: boolean() when regular_option: :raw

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