intellij-randomness / com.fwdekker.randomness.ui / javax.swing.ButtonGroup / getValue

getValue

fun ButtonGroup.getValue(): String?

Returns the action command of the currently selected button, or null if no button is selected.

Return
the String value of the currently selected button, or null if no button is selected