1
0
Fork 0
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:
Emily Grace Seville 2023-01-11 23:49:41 +10:00 committed by GitHub
parent d2dbce839e
commit 5fd383d53f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.