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