---
title: "Compare"
description: "Value, Comparison, Value"
---

> Documentation Index
> Fetch the complete documentation index at: https://wiki.wrightkit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Compare

## Description

Whether the comparison of the two inputs is true.

## Snippet

```
Compare(0, ==, 0);
```

## Properties

**Returns**: _<span style="color: #c678dd">Boolean</span>_
**Parameters**: ==_Value_==, ==_Comparison_==, ==_Value_==

> ==**Value**==
> _Type: **Object** | **Array**, Default: **[Number](/values/number/)**_
> The left-hand side of the comparison. This may be any value type if the operation is == or !=. Otherwise, real numbers are expected.

> ==**Comparison**==
> _Type: **[Operator](/constants/operator/)**, Default: **==**_
>

> ==**Value**==
> _Type: **Object** | **Array**, Default: **[Number](/values/number/)**_
> The right-hand side of the comparison. This may be any value type if the operation is == or !=. Otherwise, real numbers are expected.

Source: https://wiki.wrightkit.dev/values/compare/index.mdx
