Functions
array.removeAll()
Removes all elements from the array, leaving it empty.
Syntax
array.removeAll(series array id) → void
Arguments
id required series array Return Type
void Example
//@lipi=2
indicator("array.removeAll Example", overlay=false)
values = array.from(1.0, 2.0, 3.0)
array.removeAll(values)
plot(array.length(values), title="Length After removeAll (0)", color=color.blue)