Skip to main content

is_zero

Method of BoolArray.

Overloads

NameDescription
is_zero(bool tolerance) -> boolReturns true if all elements of the BoolArray lhs are approximately 0, within the specified tolerance.
is_zero() -> boolReturns true if all elements of the BoolArray lhs are 0.

is_zero(bool tolerance) -> bool

Returns true if all elements of the BoolArray lhs are approximately 0, within the specified tolerance.

Parameters

  • tolerance: The tolerance to use for comparison.

is_zero() -> bool

Returns true if all elements of the BoolArray lhs are 0.