REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: exists?

exists?  target

Returns the type of a file or URL if it exists, otherwise none.

Arguments:

target [file! url!]

See also:

read   write   delete   modified?   size?  

Description

Returns false if the file does not exist.

print exists? %file.txt
false
print exists? %doc.r
false


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin