Use n
instead of infinity
(#9759)
This commit is contained in:

committed by
GitHub

parent
d2dbce839e
commit
5fd383d53f
@@ -134,7 +134,8 @@ All borders of integer and float ranges get included. If you want to exclude the
|
||||
`{{1..5}}` == `[1-6)`.
|
||||
|
||||
- Use `{{from..to}}` syntax for closed ranges.
|
||||
- Use `{{-infinity..to}}` or `{{from..infinity}}` syntax for integer partially closed ranges.
|
||||
- Use `{{-n..to}}` or `{{from..n}}` syntax for integer partially closed ranges where `n` is a keyword
|
||||
signifying the minimum or maximum range value e.g. `{{1..n}}` - 1 or greater values.
|
||||
- Use `{{integer}}` syntax for values where any integer is valid.
|
||||
- Use `{{float}}` syntax for values where any float is valid.
|
||||
|
||||
|
Reference in New Issue
Block a user