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