function swapimport { swap } from "https://deno.land/x/rambda@9.2.1/mod.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[]