# All

### **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="/files/-MZrlWRz8ePn94npDDYl" 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
