Skip to content

Commit eaab1fd

Browse files
author
Muhammad Hashim
committed
update readme.
1 parent 6661d82 commit eaab1fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22

3+
34
# Kotlin2DArrays
45
First-class support for operations on 2D-Arrays in Kotlin
56

@@ -25,8 +26,9 @@ private val emptySpaces: List<Position>
2526
.map { Position(it.x, it.y) }
2627
.toList()
2728
```
28-
- Other supported operations:
29+
- Other supported operations/functions:
2930
```kotlin
31+
- matrix(row: Int, col: Int, itemFactory: (i: Int, j: Int) -> T)
3032
- forEach2D(action: (T) -> Unit)
3133
- forEachIndexed2D(action: (i: Int, j: Int, T) -> Unit)
3234
```

0 commit comments

Comments
 (0)