• Kevin Lau's avatar
    Clarify operator docs wording · bb69a1ed
    Kevin Lau authored
    The original is explaining the negation, when the body would not be
    included. Which would happen in the complement of the if expression,
    ie. flipped by De Morgan's law's:
    
    ```
    not (or .Values.anUnsetVariable (not .Values.aSetVariable))
    ==
    and (not .Values.anUnsetVariable) .Values.aSetVariable
    ```
    
    > unset variables evaluate to false
    
    is equivalent to `not .Values.anUnsetVariable`.
    
    > and
    
    is equivalent to `and`.
    
    > .Values.setVariable was negated with the not function
    
    doesn't seem to match `.Values.aSetVariable`.
    To me, that would be `not .Values.aSetVariable` instead.
    
    Anyway, explaining the `if` expression as-is and not the negation is
    clearer and parallels the first `if` operator.
    Signed-off-by: 's avatarKevin Lau <kelau1993@gmail.com>
    bb69a1ed
Name
Last commit
Last update
..
accessing_files.md Loading commit data...
builtin_objects.md Loading commit data...
control_structures.md Loading commit data...
data_types.md Loading commit data...
debugging.md Loading commit data...
functions_and_pipelines.md Loading commit data...
getting_started.md Loading commit data...
helm_ignore_file.md Loading commit data...
index.md Loading commit data...
named_templates.md Loading commit data...
notes_files.md Loading commit data...
subcharts_and_globals.md Loading commit data...
values_files.md Loading commit data...
variables.md Loading commit data...
wrapping_up.md Loading commit data...
yaml_techniques.md Loading commit data...