mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 18:44:52 -04:00
Correct function name in comment
IsInt to IsNumber
This commit is contained in:
parent
bca40cf0c9
commit
0551df090e
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user