Function: bool-vector
bool-vector is a function defined in alloc.c.
Signature
(bool-vector &rest OBJECTS)
Documentation
Return a new bool-vector with specified arguments as elements.
Allows any number of arguments, including zero.
Source Code
// Defined in /usr/src/emacs/src/alloc.c
{
if (BOOL_VECTOR_LENGTH_MAX < nargs)
memory_full (SIZE_MAX);
Lisp_Object vector = make_clear_bool_vector (nargs, true);
for (ptrdiff_t i = 0; i < nargs; i++)
if (!NILP (args[i]))
bool_vector_set (vector, i, true);
return vector;
}