Skip to content

Commit

Permalink
PR FIXUP - Remove extra brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Feb 28, 2024
1 parent 8b471c3 commit 1b70a23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/descriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,13 @@ func (f FieldKind) String() string {

// IsObject returns true if this FieldKind is an object type.
func (f FieldKind) IsObject() bool {
return (f == FieldKind_FOREIGN_OBJECT) ||
(f == FieldKind_FOREIGN_OBJECT_ARRAY)
return f == FieldKind_FOREIGN_OBJECT ||
f == FieldKind_FOREIGN_OBJECT_ARRAY
}

// IsObjectArray returns true if this FieldKind is an object array type.
func (f FieldKind) IsObjectArray() bool {
return (f == FieldKind_FOREIGN_OBJECT_ARRAY)
return f == FieldKind_FOREIGN_OBJECT_ARRAY
}

// IsArray returns true if this FieldKind is an array type which includes inline arrays as well
Expand Down

0 comments on commit 1b70a23

Please sign in to comment.