> ## 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.

# SearchPredicate

> A typed condition. Exactly one branch is present.



**Kind**: `object`

## Fields

**`and`**: `[SearchPredicate!]`

Every child condition must match.

---

**`boolean`**: `BooleanPredicate`

A condition on a boolean property.

---

**`decimal`**: `DecimalPredicate`

A condition on a decimal property.

---

**`hasValue`**: `PropertyReference`

True when a value exists. Empty text, whitespace and empty lists count as values.

---

**`integer`**: `IntegerPredicate`

A condition on an integer property.

---

**`list`**: `ListPredicate`

A condition on list elements or length.

---

**`not`**: `SearchPredicate`

The child condition must not match.

---

**`or`**: `[SearchPredicate!]`

At least one child condition must match.

---

**`relation`**: `RelationPredicate`

Tests distinct live related entries. All nested conditions apply to the same child.

---

**`segment`**: `SegmentPredicate`

Membership in a segment.

---

**`text`**: `TextPredicate`

A condition on text, including substring, RE2 regex and length checks.

---

**`timestamp`**: `TimestampPredicate`

A condition on a timestamp property.



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