Any-word? - Function Summary
Summary:
Returns TRUE for any-word values.
Usage:
any-word? value
Arguments:
value - The value argument. (must be: any-type)
Description:
Returns FALSE for all other values.
print any-word? 'word
true |
foreach word [word set-word: 'lit-word :get-word 123] [
print [
rejoin [{"} mold :word {"}]
either any-word? :word [
"is a type of word."]["is not a type of word."]
]
]
"word" is a type of word.
"set-word:" is a type of word.
"'lit-word" is a type of word.
":get-word" is a type of word.
"123" is not a type of word. |
Related:
any-block? - Returns TRUE for any-block values. any-function? - Returns TRUE for any-function values. any-string? - Returns TRUE for any-string values. any-type? - Returns TRUE for any-type values.
|