Handbook
Glossary
$predicate ( element -- )
Vocabulary
help
Inputs
element
a markup element of the form
{ word }
Outputs
None
Word description
Prints the boilerplate description of a class membership predicate word such as
array?
or
integer?
.
Definition
USING:
help.markup
kernel
make
sequences
words
;
IN:
help
:
$predicate
( element -- )
{
{
"object"
object
}
{
"?"
boolean
}
}
$values
[
"Tests if the object is an instance of the "
,
first
"predicating"
word-prop
<$link>
,
" class."
,
]
{
}
make
$description
;