Next: vectors compar, Previous: vectors cons, Up: vectors [Index]
Return #t
if obj is the empty vector, otherwise return
#f
.
Check to see if the given predicate is true on every/any item in
vec, proceeding from left (index start) to right (index
past). If the selected subvector is empty, the return value is
#f
.
The predicate is “witness–generating”:
subvector-any
returns true: the returned true value is the one
produced by the application of the predicate.
subvector-every
returns true: the returned true value is the
one produced by the application of the predicate to the last item in the
subvector.
If the predicate is applied to the final item of the selected subvector, that final application is a tail call.
The names of these procedures do not end with a question mark; this is
to indicate that they do not return a simple boolean (#t
or
#f
), but a general value.
Like subvector-every
and subvector-any
, but apply the
predicate to the elements of all the vectors used as arguments. All the
arguments must have the same number of elements.