REBOL Programming/get-path?

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

GET-PATH? value 

DESCRIPTION:[edit]

Returns TRUE if it is this type.

GET-PATH? is a function value.

ARGUMENTS[edit]

  • value -- (Type: any-type)

SOURCE CODE[edit]

get-path?: func ["Returns TRUE if it is this type." value [any-type!]][
    found? all [path? get/any 'value get-word? pick value 1]
]