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

USAGE

   DIR? target

DESCRIPTION

Returns TRUE if the file or url ends with a slash (or backslash).

DIR? is a function value.

ARGUMENTS

  • target (file! url!)

#SOURCE

dir?: make function! [  [
    {Returns TRUE if the file or url ends with a slash (or backslash).}
    target [file! url!]
][
    true? find "/\" last target
] ]
Clone this wiki locally