Bool
Concurrent Bool Array
The Bool contract
is a concurrent array specialized for storing boolean values. It inherits from the Base contract to utilize container functionalities for boolean storage.
Constructor
Functions
push
Add a boolean element to the concurrent array.
Parameters:
elem
: The boolean element to add to the array.
pop
Remove and return the last boolean element from the concurrent array.
get
Retrieve the boolean element at the given index from the concurrent array.
Parameters:
idx
: The index of the boolean element to retrieve.
set
Set the boolean element at the given index in the concurrent array.
Parameters:
idx
: The index where the boolean element should be stored.elem
: The boolean element to be stored at the specified index.
Last updated