Skip to content
Algo Trade Analytics Docs

array.some() - Pine Script Function

Returns true if at least one element of the id array is true, false otherwise.

array.some(id) → series bool
NameTypeDescription
idarrayAn array object.
  • This function also works with arrays of int and float types, in which case zero values are considered false, and all others true.