Skip to main content

set_constant

Method of BoolArray.

Overloads​

NameDescription
set_constant(integer c) -> BoolArraySets all elements of the BoolArray lhs to the constant c.
set_constant(bool c) -> BoolArraySets all elements of the BoolArray lhs to the constant c.

set_constant(integer c) -> BoolArray​

Sets all elements of the BoolArray lhs to the constant c.

Parameters​

  • c: The constant value to set all elements to.

set_constant(bool c) -> BoolArray​

Sets all elements of the BoolArray lhs to the constant c.

Parameters​

  • c: The constant value to set all elements to.