# Comparison Type

{% hint style="info" %}
Comparison types can be used in conjunction with [Value Standardization](https://docs.does.qa/node-configuration/value-standardization).
{% 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. |
