Handbook
Glossary
class-members ( class -- seq )
Factor handbook
»
The language
»
Objects
»
Classes
»
Union classes
Prev:
define-union-class ( class members -- )
Next:
union-class
Vocabulary
classes
Inputs
class
a
class
Outputs
seq
a sequence of union members, or
f
Word description
If
class
is a union class, outputs a sequence of its member classes, otherwise outputs
f
.
Definition
USING:
kernel
words
;
IN:
classes
:
class-members
( class -- seq )
dup
class?
[
"members"
word-prop
]
[
drop
f
]
if
;