github.com/Jeffail/benthos/v3@v3.65.0/website/docs/components/conditions/not.md (about)

     1  ---
     2  title: not
     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/not.go
    12  -->
    13  
    14  import Tabs from '@theme/Tabs';
    15  import TabItem from '@theme/TabItem';
    16  
    17  
    18  Returns the opposite (NOT) of a child condition.
    19  
    20  ```yaml
    21  # Config fields, showing default values
    22  not: {}
    23  ```
    24  
    25  ## Examples
    26  
    27  In order to express 'part 0 NOT equal to "foo"' you could use the following:
    28  
    29  ``` yaml
    30  not:
    31    text:
    32      part: 0
    33      operator: equal
    34      arg: foo
    35  ```
    36