Empty returns false if there are no conditions.
()
| 61 | |
| 62 | // Empty returns false if there are no conditions. |
| 63 | func (c Cond) Empty() bool { |
| 64 | for range c { |
| 65 | return false |
| 66 | } |
| 67 | return true |
| 68 | } |
| 69 | |
| 70 | // Constraints returns each one of the Cond map entires as a constraint. |
| 71 | func (c Cond) Constraints() []adapter.Constraint { |