array.every() - Pine Script Function
array.every()
Section titled “array.every()”Overview
Section titled “Overview”Returns true if all elements of the id array are true, false otherwise.
Syntax
Section titled “Syntax”array.every(id) → series boolParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| id | array | An array object. |
Remarks
Section titled “Remarks”- This function also works with arrays of int and float types, in which case zero values are considered false, and all others true.