invMap()
Map an integer or an array of integers from user to 0 based index.
Parameters
- invMap (array)
- The array returned by getInvMap(usrIds).
- source (array) or (integer)
- An int or 1D/2D array of integers.
Return Value
- destination (array)
- A mapped version of src.