Skip to content

format

typescript
File.Exists(path)

class: File

description

Check if the specified file exists.

parameter

param_nametypedescription
pathstringThe path of the specified file.

return

typedescription
booleanWhether the file exists.

code example