isRadio

Check if StringProperty is a radio based on the format and enum or oneOf fields.

val property = StringProperty(enum = arrayListOf(""))
val control = Control(
scope = "#/properties/key",
options = Options(format = Format.Radio)
)
val isRadio = property.isRadio(control)

Return

true if the StringProperty is a radio

Parameters