compareExchange static method

  1. @JS('compareExchange')
int compareExchange(
  1. List<int> typedArray,
  2. int index,
  3. int expectedValue,
  4. int replacementValue,
)

Implementation

@JS('compareExchange')
external static int compareExchange(
    List<int> typedArray, int index, int expectedValue, int replacementValue);