Function js_sys::Atomics::and_bigint
source · pub fn and_bigint(
typed_array: &JsValue,
index: u32,
value: i64
) -> Result<i64, JsValue>
Expand description
The static Atomics.and()
method computes a bitwise AND with a given
value at a given position in the array, and returns the old value
at that position.
This atomic operation guarantees that no other write happens
until the modified value is written back.
This method is used to operate on a BigInt64Array
or a BigUint64Array
.