> For the complete documentation index, see [llms.txt](https://help.novacuraflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.novacuraflow.com/development/flowscript/table/all.md).

# All

This Flow Script tutorial explains how to use the All function with syntax and examples.

### **Description**‌

Obsolete function.&#x20;

The All function returns a boolean value indicating whether the predicate expression holds true for all rows in the table.

The Any function can be used to achieve the same result as All.

### **Syntax**

‌The syntax for the All function is:

`All(table, predicate)`

#### ‌**Parameters**

table - the table which is to be checked.

predicate -  the value to be checked in the table if true or not.&#x20;

### **Returns**

‌The All function returns True or False.

### **Example**‌

Let's look at some All function examples and explore how to use the All function.‌

<div align="left"><img src="https://529897662-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-MZrkHmn5o7bN8xIgia_%2F-MZrlWRz8ePn94npDDYl%2Fquantity.jpg?alt=media&amp;token=9038e804-957e-476d-8bd9-0eb8cc938279" alt="Example table: orderQuantity"></div>

```
All([a: 1] & [a: 2], {a > 1})
Result: False

All(orderQuantity,{Quantity > 2})
Result: True

All(orderQuantity,{Quantity > 10})
Result: False

The Any function to do the same check:
not Any(orderQuantity where Quantity <= 10)
Result: False
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.novacuraflow.com/development/flowscript/table/all.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
