I want to have a 2x2 2d array of int in kotlin but the indexing should be using booleans like this:
| true | false |
----------------------
true | 0 | 75 |
----------------------
false | 1 | 34 |
I know I can use a 2d array of int but not sure how to represent the indexing via booleans.
Any help much appreciated