list?
tests whether the provided forms are lists
Usage:
(list? form+) (!list? form+)
If all forms evaluate to a list, then this function will return #t (true). The first non-list will result in the function returning #f (false).
An Example
(list? '(1 2 3 4) [5 6 7 8])
This example will return #f (false) because the second form is a vector.
Like most predicates, this function can also be negated by prepending the !
character. This means that all the provided forms must not be lists.
(!list? "hello" [99])
This example will return #t (true).