function swapimport { swap } from "https://dotland.deno.dev/x/rambda@v9.2.0/index.d.ts"; swap(indexA: number, indexB: number): <T>(list: T[]) => T[]swap<T>(indexA: number,indexB: number,list: T[],): T[]ParametersindexA: numberindexB: numberReturns<T>(list: T[]) => T[]Type ParametersTParametersindexA: numberindexB: numberlist: T[]ReturnsT[]