Exists?

angerangel edited this page Jan 3, 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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.