multiply and add filters documented (#32535)

This commit is contained in:
Troon 2024-05-22 14:50:41 +01:00 committed by GitHub
parent 40fc996d0c
commit e588afc247
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1067,6 +1067,8 @@ The numeric functions and filters raise an error if the input is not a valid num
- 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.
- Filter `multiply(arg)` will convert the input to a number and multiply it by `arg`. Useful in list operations in conjunction with `map`.
- Filter `add(arg)` will convert the input to a number and add it to `arg`. Useful in list operations in conjunction with `map`.
### Complex type checking