IsString returns a boolean indicating whether the field type is a string type.
(tp byte)
| 141 | // IsString returns a boolean indicating |
| 142 | // whether the field type is a string type. |
| 143 | func IsString(tp byte) bool { |
| 144 | return IsTypeChar(tp) || IsTypeBlob(tp) || IsTypeVarchar(tp) || IsTypeUnspecified(tp) |
| 145 | } |
| 146 | |
| 147 | // IsStringKind returns a boolean indicating whether the tp is a string type. |
| 148 | func IsStringKind(kind byte) bool { |
no test coverage detected