Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
  • Loading branch information
dbussink committed Apr 24, 2024
1 parent 595ec8f commit 89ffe52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/sqltypes/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,12 +568,12 @@ func (v Value) IsDecimal() bool {
return IsDecimal(v.Type())
}

// IsEnum returns true if Value is time.
// IsEnum returns true if Value is enum.
func (v Value) IsEnum() bool {
return v.Type() == querypb.Type_ENUM
}

// IsSet returns true if Value is time.
// IsSet returns true if Value is set.
func (v Value) IsSet() bool {
return v.Type() == querypb.Type_SET
}
Expand Down

0 comments on commit 89ffe52

Please sign in to comment.