General Predicates
General predicates evaluate whether a value exists or whether a record has been saved.
They do not depend on the underlying data type.
Category: General
Has value
True if the field contains any value.
This predicate checks for the presence of data — the value does not need to meet any specific format or type requirement.
Example
"hello"→ ✔42→ ✔- (empty) → ✘
Tip
Use this to enforce required fields without caring about how the data looks.
Has no value
True if the field is empty or missing.
This is the opposite of Has value.
Example
- (empty) → ✔
"text"→ ✘0→ ✘ (the value exists even if numeric zero)
Note
Zero, false, and empty strings are considered “values” unless the system specifically treats them differently.
Is saved
True if the record has been saved to the database.
This does not evaluate the content of a specific field — instead, it checks whether the row itself exists as a persisted record.
Example
- A newly created record (not yet saved) → ✘
- A stored, persisted record → ✔
Tip
Useful for conditional logic that should only apply after the record has been created in the system.