allActions

fun <T> allActions(state: Int, action: (Int) -> T?): T?