chickadee » numchi » array-any*

array-any* a #!key axis (dtype generic-storage-class)procedure

Returns #t if any of the elements is not #f. Note the * in the name to avoid shadowing srfi-179's array-any.

DIFF: This will return slightly different results than numpy's array-all because while scheme and python both have "truthiness" (objects that are not #t or True evaluate as true for boolean operations), scheme does not have Python's "falsiness" for values like 0, [], "", etc.

Similar: ndarray.any