Next: built-in booleans false, Previous: built-in booleans boolean, Up: built-in booleans [Contents][Index]
<true>
<boolean>
Type of the boolean value #t
.
<true>
: <true> type-constructor objReturn #t
if obj is #t
.
(new <true> #t) ⇒ #t (new <true> 12) error→ type violation
<true>
: <boolean> type-predicate objThe type predicate is true?
. Return #t
if obj is
#t
.
(is-a? #t <true>) ⇒ #t (is-a? #f <true>) error→ type error
<true>
: <non-negative-fixnum> hash-function trueThe hash function is boolean-hash
.
(hash #t) ⇒ 1