usrMap()

Map an integer or an array of integers from 0 based index to user IDs.

Parameters

usrIds (array)
An array of user indices.
source (array) or (integer)
An int or 1D/2D array of integers.

Return Value

destination (array)
A mapped version of src.