Skip to content
angerangel edited this page Mar 19, 2013 · 1 revision

USAGE

   EXISTS? target

DESCRIPTION

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

EXISTS? is a function value.

ARGUMENTS

  • target (file! url!)

#SOURCE

exists?: make function! [  [
    {Returns the type of a file or URL if it exists, otherwise none.}
    target [file! url!]
][
    select attempt [query target] 'type
] ]
Clone this wiki locally