Object function reference

is_file

A reference entry for is_file

Object function · File

is_file() ⇒ boolean

Provides the is_file operation for this object.

Example

YASS
if ($file->is_file())
  print("This path is a file.")
end if