text/template/parse.NumberNode.IsInt (field)
11 uses
text/template/parse (current package)
node.go#L619: IsInt bool // Number has an integral value.
node.go#L642: n.IsInt = true
node.go#L675: n.IsInt = true
node.go#L683: if n.IsInt {
node.go#L700: if !n.IsInt && float64(int64(f)) == f {
node.go#L701: n.IsInt = true
node.go#L710: if !n.IsInt && !n.IsUint && !n.IsFloat {
node.go#L722: n.IsInt = float64(int64(n.Float64)) == n.Float64
node.go#L723: if n.IsInt {
text/template
exec.go#L532: case constant.IsInt:
exec.go#L916: if n, ok := n.(*parse.NumberNode); ok && n.IsInt {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)