Object function reference

exists

A reference entry for exists

Object function · File

exists() ⇒ boolean

Provides the exists operation for this object.

Example

YASS
if ($file->exists())
  print("The file exists.")
end if