mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
Correct function name in comment
IsInt to IsNumber
This commit is contained in:
parent
bca40cf0c9
commit
0551df090e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue