REBOL Programming/any-path?

USAGE:Edit

ANY-PATH? value 

DESCRIPTION:Edit

Return TRUE if value is any type of path.

ANY-PATH? is a function value.

ARGUMENTSEdit

  • value -- (Type: any-type)

SOURCE CODEEdit

any-path?: func [
    "Return TRUE if value is any type of path." 
    value [any-type!]
][
    found? find any-path! type? get/any 'value
]
Last modified on 27 October 2012, at 22:19