Function schemaTypeIs

  • 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 type of the sub-schema matches the expected one.

    Parameters

    • expectedType: string

      the expected type of the resolved sub-schema

    Returns Tester

Generated using TypeDoc