optionIs
constoptionIs: (optionName,optionValue) =>Tester=JsonFormsCore.optionIs
Tester matching by a uischema element options value.
Checks whether the given UI schema has an option with the given name and whether it has the expected value. If no options property is set, returns false.
Parameters
Section titled “Parameters”optionName
Section titled “optionName”string
the name of the option to check
optionValue
Section titled “optionValue”any
the expected value of the option
Returns
Section titled “Returns”Tester