@@ -201,42 +201,42 @@ func LessThan4C[Ty1 Comparable[Ty1], Ty2 Comparable[Ty2], Ty3 Comparable[Ty3], T
201
201
return Compare4C (host , guest ).LT ()
202
202
}
203
203
204
- // LessOrEqual4 returns whether the host tuple is semantically less than the guest tuple.
204
+ // LessOrEqual4 returns whether the host tuple is semantically less than or equal to the guest tuple.
205
205
// All tuple elements of the host and guest parameters must match the "Ordered" constraint.
206
206
// To compare tuples that hold custom comparable values, use the LessOrEqual4C function.
207
207
func LessOrEqual4 [Ty1 , Ty2 , Ty3 , Ty4 constraints.Ordered ](host , guest T4 [Ty1 , Ty2 , Ty3 , Ty4 ]) bool {
208
208
return Compare4 (host , guest ).LE ()
209
209
}
210
210
211
- // LessOrEqual4C returns whether the host tuple is semantically less than the guest tuple.
211
+ // LessOrEqual4C returns whether the host tuple is semantically less than or equal to the guest tuple.
212
212
// All tuple elements of the host and guest parameters must match the Comparable constraint.
213
213
// To compare tuples that hold built-in "Ordered" values, use the LessOrEqual4 function.
214
214
func LessOrEqual4C [Ty1 Comparable [Ty1 ], Ty2 Comparable [Ty2 ], Ty3 Comparable [Ty3 ], Ty4 Comparable [Ty4 ]](host , guest T4 [Ty1 , Ty2 , Ty3 , Ty4 ]) bool {
215
215
return Compare4C (host , guest ).LE ()
216
216
}
217
217
218
- // GreaterThan4 returns whether the host tuple is semantically less than the guest tuple.
218
+ // GreaterThan4 returns whether the host tuple is semantically greater than the guest tuple.
219
219
// All tuple elements of the host and guest parameters must match the "Ordered" constraint.
220
220
// To compare tuples that hold custom comparable values, use the GreaterThan4C function.
221
221
func GreaterThan4 [Ty1 , Ty2 , Ty3 , Ty4 constraints.Ordered ](host , guest T4 [Ty1 , Ty2 , Ty3 , Ty4 ]) bool {
222
222
return Compare4 (host , guest ).GT ()
223
223
}
224
224
225
- // GreaterThan4C returns whether the host tuple is semantically less than the guest tuple.
225
+ // GreaterThan4C returns whether the host tuple is semantically greater than the guest tuple.
226
226
// All tuple elements of the host and guest parameters must match the Comparable constraint.
227
227
// To compare tuples that hold built-in "Ordered" values, use the GreaterThan4 function.
228
228
func GreaterThan4C [Ty1 Comparable [Ty1 ], Ty2 Comparable [Ty2 ], Ty3 Comparable [Ty3 ], Ty4 Comparable [Ty4 ]](host , guest T4 [Ty1 , Ty2 , Ty3 , Ty4 ]) bool {
229
229
return Compare4C (host , guest ).GT ()
230
230
}
231
231
232
- // GreaterOrEqual4 returns whether the host tuple is semantically less than the guest tuple.
232
+ // GreaterOrEqual4 returns whether the host tuple is semantically greater than or equal to the guest tuple.
233
233
// All tuple elements of the host and guest parameters must match the "Ordered" constraint.
234
234
// To compare tuples that hold custom comparable values, use the GreaterOrEqual4C function.
235
235
func GreaterOrEqual4 [Ty1 , Ty2 , Ty3 , Ty4 constraints.Ordered ](host , guest T4 [Ty1 , Ty2 , Ty3 , Ty4 ]) bool {
236
236
return Compare4 (host , guest ).GE ()
237
237
}
238
238
239
- // GreaterOrEqual4C returns whether the host tuple is semantically less than the guest tuple.
239
+ // GreaterOrEqual4C returns whether the host tuple is semantically greater than or equal to the guest tuple.
240
240
// All tuple elements of the host and guest parameters must match the Comparable constraint.
241
241
// To compare tuples that hold built-in "Ordered" values, use the GreaterOrEqual4 function.
242
242
func GreaterOrEqual4C [Ty1 Comparable [Ty1 ], Ty2 Comparable [Ty2 ], Ty3 Comparable [Ty3 ], Ty4 Comparable [Ty4 ]](host , guest T4 [Ty1 , Ty2 , Ty3 , Ty4 ]) bool {
0 commit comments