diff --git a/common/hreflect/helpers.go b/common/hreflect/helpers.go index cd5714d2f..0cc42ecc5 100644 --- a/common/hreflect/helpers.go +++ b/common/hreflect/helpers.go @@ -23,7 +23,7 @@ import ( ) // TODO(bep) replace the private versions in /tpl with these. -// IsInt returns whether the given kind is a number. +// IsNumber returns whether the given kind is a number. func IsNumber(kind reflect.Kind) bool { return IsInt(kind) || IsUint(kind) || IsFloat(kind) }