utils library

Functions

getRealIndex(int position, int base, int? length) int
Converts an index of a set size to the corresponding index of a collection of another size as if they were circular.
remainder(int input, int? source) int
Returns the remainder of the modulo operation input % source, and adjust it for negative values.