- :logical
exists?
check if given file exists
Parameters
exists? file :string
Attributes
directory | check for directory |
Returns
Examples
copyif exists? "somefile.txt" [ print "file exists!" ]
exists? file :string
directory | check for directory |
copyif exists? "somefile.txt" [ print "file exists!" ]