Skip to main content

set_constant

Method of IntegerArray.

Overloads

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

set_constant(integer c) -> IntegerArray

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

Parameters

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

set_constant(bool c) -> IntegerArray

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

Parameters

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