5 or -42. Use this to confirm that a field meant to hold a count, a quantity, or an identifier really is a whole number before you act on it. This check is forgiving about how the number is written: a whole number written as text, such as "42", also matches. Values that are not whole numbers do not match, including decimals such as 19.99, text with letters such as "5kg", and empty values. This condition has no settings: it looks at whatever value it is given and reports whether that value is a whole number.
Fields
This condition has no settings of its own.Sample data
This checks each entity’svalue field.
| Incoming value | Result |
|---|---|
42 (a whole number) | Matches |
"42" (a whole number written as text) | Matches |
19.99 (a decimal number) | Does not match |
"hello" (text) | Does not match |
null (no value) | Does not match |
["a", "b", "c"] (a list) | Does not match |
true is read as the whole number 1). If you need to be sure a flag really is an on/off value, use the Type: Boolean check instead.