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.

ARGUMENTS edit

  • value -- (Type: any-type)

SOURCE CODE edit

any-path?: func [
    "Return TRUE if value is any type of path." 
    value [any-type!]
][
    found? find any-path! type? get/any 'value
]