mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 15:35:27 +02:00
Use n
instead of infinity
(#9759)
This commit is contained in:
parent
d2dbce839e
commit
5fd383d53f
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue