• Maps a function across a list, where the function receives both index and value as arguments (i,v)

    Parameters

    • f: ((idx: number, val: any) => any)
        • (idx, val): any
        • Parameters

          • idx: number
          • val: any

          Returns any

    • x: any[]

    Returns Curry<((...p: [] | [b: readonly unknown[]]) => unknown[])>