---
title: "equals — Equals strictly"
description: "iXML command equals: Equals strictly."
canonical_url: "https://www.zeyos.com/ixml/ref/equals"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/equals.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# equals — Equals strictly

EQUALS checks whether the values of two variables are strictly equal without type coercion.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| var1 | var |  | Variable name 1 |
| var2 | var |  | Variable name 2 |
| var_result | var |  | Result variable name |

### Children
- (none)

### Parents
- (not restricted in the reference)

### Result
- binding: var_result; type: bool

### Examples

```xml
<set var="name1">Bill Gates</set>
<set var="name2">Steve Jobs</set>

<equals var1="name1" var2="name2" var_result="equals"/>

<is var="equals" type="false">
	<output>$name1 and $name2 are not strictly equal!</output>
</is>

<!-- Bill Gates and Steve Jobs are not strictly equal! -->
```

```xml
<set var="numeric">123</set>

<set var="number">123</set>
<cast var="number" type="int"/>

<equals var1="numeric" var2="number" var_result="equals"/>

<is var="equals" type="false">
	<output>"$numeric" and $number are not strictly equal!</output>
</is>

<!-- "123" and 123 are not strictly equal! -->
```
