# Comparison Type

{% hint style="info" %}
Comparison types can be used in conjunction with [Value Standardization](/node-configuration/value-standardization.md).
{% endhint %}

## Basic

| Name          | Description                                                                                                             |
| ------------- | ----------------------------------------------------------------------------------------------------------------------- |
| Has Any Value | Checks that the element has any value, this can be text, number, or selection.                                          |
| Equals        | Checks that the value of the element matches exactly the input.                                                         |
| Contains      | If the provided element has any text that contains the input given.                                                     |
| Starts With   | Explicitly checks for the value to start with the input value ( eg "Hello World" starts with "Hello" and not "hello" ). |
| Ends With     | Explicitly checks for the value to end with the input value ( eg "Hello World" ends with "World" and not "world" ).     |

## Negative

| Name               | Description                                                                   |
| ------------------ | ----------------------------------------------------------------------------- |
| Has No Value       | Passes the step of the provided element does not contain any value.           |
| Doesn't Equal      | Checks that the provided element and prompt do not match.                     |
| Doesn't Contain    | Asserts if the provided element does not contain the input parameter.         |
| Doesn't Start With | Checks if the provided output from the element does not start with the input. |
| Doesn't End With   | Checks if the provided output from the element does not end with the input.   |

## Numbers

| Name                        | Description                                                    |
| --------------------------- | -------------------------------------------------------------- |
| Is Greater Than             | Asserts that the number is greater than the input.             |
| Is Greater Than or Equal To | Asserts that the number is greater than or equal to the input. |
| Is Less Than                | Asserts that the number is less than the input.                |
| Is Less Than or Equal To    | Asserts that the number is less than or equal to the input.    |

## Advanced

| Name         | Description                           |
| ------------ | ------------------------------------- |
| Custom Regex | Use a custom regex that returns true. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.does.qa/node-configuration/comparison-type.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
