• Creates new list by adding indexes to the input list. Specifically, takes a list of items L and returns same length list Y where Y[index] = [ index , L[index] ]

    Parameters

    • x: any[]

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