Gtk.SpinButton.prototype.get_numeric

function get_numeric():Boolean {
    // Gjs wrapper for gtk_spin_button_get_numeric()
}

Returns whether non-numeric text can be typed into the spin button. See Gtk.set_numeric.

Returns

true if only numeric text can be entered