t
Factor documentation > Factor handbook > The language > Booleans
Prev:f
Next:boolean


Vocabulary
syntax

Syntax
t


Inputs and outputs
tthe canonical truth value


Class description
The canonical truth value, which is an instance of itself.

Definition
IN: syntax

SINGLETON: t


Methods
USING: kernel regexp.classes ;

M: t <not-class> drop f ;


USING: kernel regexp.classes ;

M: t class-member? 2drop t ;


USING: io json.writer kernel ;

M: t json-print drop "true" write ;


USING: kernel regexp.compiler ;

M: t question>quot drop [ 2drop t ] ;


USING: kernel ui.gadgets.scrollers.private ;

M: t update-scroller drop (scroll>bottom) ;