FunctionsPreferenceGetPreviousIndexPreferenceGetPreviousIndex CallablePreferenceGetPreviousIndex(List: readonly unknown[], Index: number): numberReturns the index of the previous preference list item (and wraps back to the end of the list if currently at 0)ParametersList: readonly unknown[]The preference listIndex: numberThe current preference index for the given listReturns numberThe index of the previous item in the array, or the last item in the array if currently at 0
Returns the index of the previous preference list item (and wraps back to the end of the list if currently at 0)