Skip to content

optionIs

const optionIs: (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.

string

the name of the option to check

any

the expected value of the option

Tester