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

# Factorio Runtime Docs Version 2.0.7

## ItemFilter :: table or string

An item filter may be specified in two ways, either as a string which is an item prototype name or as a table.

#### Table fields

name | :: ItemID? | The item.
The item.
quality | :: QualityID? | The quality.
The quality.
comparator | :: ComparatorString? | The quality comparison type.
The quality comparison type.