Пример #1
0
func isString(t *types.Basic) bool {
	return t.Info()&types.IsString != 0
}
Пример #2
0
func isUnsigned(t *types.Basic) bool {
	return t.Info()&types.IsUnsigned != 0
}
Пример #3
0
func isNumeric(t *types.Basic) bool {
	return t.Info()&types.IsNumeric != 0
}
Пример #4
0
func isInteger(t *types.Basic) bool {
	return t.Info()&types.IsInteger != 0
}
Пример #5
0
func isFloat(t *types.Basic) bool {
	return t.Info()&types.IsFloat != 0
}
Пример #6
0
func isComplex(t *types.Basic) bool {
	return t.Info()&types.IsComplex != 0
}
Пример #7
0
func isBoolean(t *types.Basic) bool {
	return t.Info()&types.IsBoolean != 0
}