Skip to content

Commit fdea8ea

Browse files
committed
Add types.Equal(lhs, rhs)
1 parent 9bd0e36 commit fdea8ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

table/types/type.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ type Type interface {
1313
value.Type
1414
}
1515

16+
func Equal(lhs, rhs Type) bool {
17+
return value.TypesEqual(lhs, rhs)
18+
}
19+
1620
func List(t Type) Type {
1721
return value.List(t)
1822
}

0 commit comments

Comments
 (0)