Loading

mapper.or


mapper logic
Since v1.0.11
Available on all platforms
See also

This mapper function applies the logical operator OR on all the values found in each sliding window.

The associated location and elevation are those of the most recent tick of the interval.

The mapper.or function can be applied to values of any type, when not applied to BOOLEAN types, the current value is considered to be false.

Signature

Examples

[ [ NEWGTS 100 NaN NaN NaN true ADDVALUE 200 NaN NaN NaN false ADDVALUE 300 NaN NaN NaN false ADDVALUE 400 NaN NaN NaN false ADDVALUE 500 NaN NaN NaN true ADDVALUE 600 NaN NaN NaN true ADDVALUE 700 NaN NaN NaN true ADDVALUE 800 NaN NaN NaN true ADDVALUE ] mapper.or 1 1 0 ] MAP