formatIs
constformatIs: (expectedFormat) =>Tester=JsonFormsCore.formatIs
Tester matching by the bound schema’s format.
Only applicable for Controls.
This function checks whether the given UI schema is of type Control and if so, resolves the sub-schema referenced by the control and checks whether the format of the sub-schema matches the expected one.
Parameters
Section titled “Parameters”expectedFormat
Section titled “expectedFormat”string
the expected format of the resolved sub-schema
Returns
Section titled “Returns”Tester