text/template/parse.NumberNode.IsInt (field)
11 uses
text/template/parse (current package)
node.go#L622: IsInt bool // Number has an integral value.
node.go#L645: n.IsInt = true
node.go#L678: n.IsInt = true
node.go#L686: if n.IsInt {
node.go#L703: if !n.IsInt && float64(int64(f)) == f {
node.go#L704: n.IsInt = true
node.go#L713: if !n.IsInt && !n.IsUint && !n.IsFloat {
node.go#L725: n.IsInt = float64(int64(n.Float64)) == n.Float64
node.go#L726: if n.IsInt {
text/template
exec.go#L607: case constant.IsInt:
exec.go#L1005: if n, ok := n.(*parse.NumberNode); ok && n.IsInt {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)