> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Predicate

> Composable filters. Supply exactly one branch; use and/or/not for composition. Operands cannot be null; use hasValue for presence.



**Kind**: `input`

## Fields

**`and`**: `[Predicate!]`

Matches when every nested predicate matches. Needs at least one.

---

**`boolean`**: `BooleanFilterInput`

Compares a boolean property.

---

**`decimal`**: `DecimalFilterInput`

Compares a decimal property.

---

**`hasValue`**: `PropertyReferenceInput`

Matches when a property has a value. Empty text and empty lists count as values.

---

**`integer`**: `IntegerFilterInput`

Compares an integer property.

---

**`lifecycle`**: `LifecycleFilterInput`

Matches the saved readiness of a lifecycle. Only in `cardEntries`, `relatedEntries` and `cardPropertyTerms`; other queries and lifecycle rules reject it.

---

**`list`**: `ListFilterInput`

Matches the elements or the length of a list property.

---

**`not`**: `Predicate`

Matches when the nested predicate doesn't.

---

**`or`**: `[Predicate!]`

Matches when at least one nested predicate matches. Needs at least one.

---

**`relation`**: `RelationFilterInput`

Counts related card entries that match a nested predicate. Not supported on source entries.

---

**`segment`**: `SegmentPredicateInput`

Matches card entries in a segment. Only in queries of card entries; source entry queries and lifecycle rules reject it.

---

**`text`**: `TextFilterInput`

Compares a text property.

---

**`timestamp`**: `TimestampFilterInput`

Compares a timestamp property.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.