sudoco / nl.entreco.sudoco.shared / kotlin.Array

Extensions for kotlin.Array

clean

fun Array<IntArray>.clean(): Array<IntArray>

cols

fun Array<IntArray>.cols(): Array<Array<IntArray>>

exclude

fun Array<IntArray>.exclude(value: Int): Array<IntArray>

flatten

fun Array<Array<IntArray>>.flatten(): IntArray

magico

fun Array<IntArray>.magico(): Pair<Int, Int>

nonet

fun Array<IntArray>.nonet(row: Int, col: Int): Array<IntArray>

nonets

fun Array<IntArray>.nonets(): Array<Array<IntArray>>

rows

fun Array<IntArray>.rows(): Array<Array<IntArray>>

singles

fun Array<IntArray>.singles(): Pair<Int, Int>?