all#
Fully qualified name: isaacsim::common::array::all
-
Array isaacsim::common::array::all(const Array &a)#
Tests whether all array elements evaluate to
true.Accepts operands of any dtype: an element is treated as
truewhen it is non-zero (soNaNistrue). The whole array is reduced, regardless of its rank, and the result is a 0-D boolean Array on the operand’s device, so a CUDA result stays on the device; read it withitem<bool>(). An empty array reduces totrue.- Parameters:
a – [in] Operand.
- Returns:
A new 0-D boolean Array holding the reduction.