github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/conditions/or.md (about) 1 --- 2 title: or 3 type: condition 4 status: stable 5 --- 6 7 <!-- 8 THIS FILE IS AUTOGENERATED! 9 10 To make changes please edit the contents of: 11 lib/condition/or.go 12 --> 13 14 import Tabs from '@theme/Tabs'; 15 import TabItem from '@theme/TabItem'; 16 17 18 Returns the logical OR of children conditions. 19 20 ```yaml 21 # Config fields, showing default values 22 or: [] 23 ``` 24 25 ## Examples 26 27 The following snippet resolves to true if a message contains 'foo' or 'bar': 28 29 ``` yaml 30 or: 31 - text: 32 operator: contains 33 arg: foo 34 - text: 35 operator: contains 36 arg: bar 37 ``` 38