any#
- rbc.stdlib.utility_functions.any(x)#
Tests whether any input array element evaluates to True along a specified axis.
Examples
>>> from rbc.stdlib import array_api >>> @heavydb('bool(int64[])') ... def array_api_any(arr): ... return array_api.any(arr) >>> array_api_any([0, 1]).execute() True >>> array_api_any([0]).execute() False