Add 'bitwise_xor' filter to jinja templates (#30124)

This commit is contained in:
Lars R 2024-01-10 09:41:22 +01:00 committed by GitHub
parent 3e4b67150b
commit 918fb8ca8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -916,6 +916,7 @@ The numeric functions and filters raise an error if the input is not a valid num
- `round(1, "half", default)` will always round to the nearest .5 value. `precision` should be 1 for this mode
- Filter `value_one|bitwise_and(value_two)` perform a bitwise and(&) operation with two values.
- Filter `value_one|bitwise_or(value_two)` perform a bitwise or(\|) operation with two values.
- Filter `value_one|bitwise_xor(value_two)` perform a bitwise xor(\^) operation with two values.
- Filter `ord` will return for a string of length one an integer representing the Unicode code point of the character when the argument is a Unicode object, or the value of the byte when the argument is an 8-bit string.
### Complex type checking