autoAdjust

suspend fun autoAdjust(options: AutoAdjustOptions): Result<List<Int>>

Mirrors the React autoAdjust heuristic with 100% parity. Returns two integers whose sum is 12 representing the split between the primary and secondary grids.

Return

Result containing list of two integers val1, val2 where val1 + val2 = 12

Parameters

options

Auto adjust configuration options