mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
551 B
551 B
title, description, categories, keywords, params
| title | description | categories | keywords | params | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| math.MaxInt64 | Returns the maximum value for a signed 64-bit integer. |
|
{{< new-in 0.147.3 />}}
{{ math.MaxInt64 }} → 9223372036854775807
This function is helpful for simulating a loop that continues indefinitely until a break condition is met. For example:
{{ range math.MaxInt64 }}
{{ if eq . 42 }}
{{ break }}
{{ end }}
{{ end }}