true?
tests whether the provided forms are boolean true
Usage:
(true? form+) (!true? form+) (is-true form)
If all forms evaluate to true (#t), then this function will return #t (true). The first non-true will result in the function returning #f (false).
An Example
(true? (> 3 2) (< 5 10) (and #t #f))
This example will return #f (false) because the last form evaluates to #f.
Like most predicates, this function can also be negated by prepending the !
character. This means that all the provided forms must not be true. This is equivalent to the false? predicate.
(!true? #f (> 5 10))
This example will return #t (true).