Loading

||


operators logic
Since v1.0.0
Available on all platforms
See also

The || operator is a synonymous for OR.

It performs a logical OR on its parameters. When applied to a list of parameters, the parameter scan stops at the first true value encountered.

Since Warp 10™ 2.1, || can be applied on two boolean GTS to produce a new GTS.

Signature

Examples

// // Examples with booleans parameters // true true || false true || false false || // // Examples with list of booleans or macros // [ true true false false ] || <% true %> 'true_macro' STORE <% false %> 'false_macro' STORE [ @true_macro @true_macro @false_macro @false_macro ] || [ false false @false_macro @false_macro ] ||