is_constant
Method of BoolArray.
Overloads
| Name | Description |
|---|---|
is_constant(bool tolerance) -> bool | Returns true if all elements of the BoolArray lhs are approximately the same, within the specified tolerance. |
is_constant() -> bool | Returns true if all elements of the BoolArray lhs are the same. |
is_constant(bool tolerance) -> bool
Returns true if all elements of the BoolArray lhs are approximately the same, within the specified tolerance.
Parameters
- tolerance: The tolerance to use for comparison.
is_constant() -> bool
Returns true if all elements of the BoolArray lhs are the same.