---
title: "$Compare"
---
Compare two values numerically or as case-sensitive strings.
$Compare(Arg1, Operator, Arg2, [AsNumber])| Name | Description |
|---|---|
| ☆ Arg1 | The left-hand side of the comparison. |
| ☆ Operator | One of: <, >, <=, >=, =, !=. |
| ☆ Arg2 | The right-hand side of the comparison. |
| AsNumber | Override number detection. True causes an error if the arguments cannot be parsed as numbers. False always compares them as strings. |