slot-named ( name specs -- spec/f )
Factor handbook > The language > Objects > Low-level slot operations

Prev:changer-word ( name -- word )
Next:define-reader ( class slot-spec -- )


Vocabulary
slots

Inputs and outputs
namea string
specsa sequence of slot-specs
spec/fa slot-spec or f


Word description
Outputs the slot-spec with the given name.

Definition


: slot-named ( name specs -- spec/f ) slot-named* nip ;