Prelude API
    Preparing search index...

    Function unsafeSwap

    • In-place swap elements at index i and j without bound checks.

      Type Parameters

      • T

      Parameters

      • mutableValues: T[]
      • i: number
      • j: number

      Returns T[]