Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Runtime Docs Version 2.0.7

## ComparatorString :: union

A string that specifies how the inputs should be compared.

While the API accepts both versions for `"less/greater than or equal to"` and `"not equal"`, it'll always return `"≥"`, `"≤"` or `"≠"` respectively when reading them back.

#### Union members

`"="` | "equal to"
`">"` | "greater than"
`"<"` | "lesser than"
`"≥"` | "greater than or equal to"
`">="` | "greater than or equal to"
`"≤"` | "lesser than or equal to"
`"<="` | "lesser than or equal to"
`"≠"` | "not equal to"
`"!="` | "not equal to"