Computes validated positive indices from given indices.
validateIndices(idxs = NULL, maxIdx, allowOutOfBound = TRUE)
Returns a validated integers list indicating the indices. If some of the indices cannot be represented as an integer, the indices are returned as doubles.
WARNING: This function is defunct and will be removed in a future version.