mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Correct function name in comment
IsInt to IsNumber
This commit is contained in:
committed by
Bjørn Erik Pedersen
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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user