• Throw an error if the output type does not match the expected type.

    Parameters

    • output: IQueryOperationResult

      A query operation output.

    • expectedType: "boolean" | "bindings" | "quads" | "void"

      The expected output type.

    Returns void