Sensemaking Tools Documentation
    Preparing search index...

    Function checkDataSchema

    • Check that the given data matches the corresponding TSchema specification. Caches type checking compilation.

      Parameters

      • schema: TSchema

        The schema to check by

      • response: any

        The response to check

      Returns boolean

      Boolean for whether or not the data matches the schema