singleSelectOptionsEqual checks if two option slices are equal
(a, b []singleSelectOption)
| 771 | |
| 772 | // singleSelectOptionsEqual checks if two option slices are equal |
| 773 | func singleSelectOptionsEqual(a, b []singleSelectOption) bool { |
| 774 | if len(a) != len(b) { |
| 775 | return false |
| 776 | } |
| 777 | for i := range a { |
| 778 | if a[i] != b[i] { |
| 779 | return false |
| 780 | } |
| 781 | } |
| 782 | return true |
| 783 | } |
| 784 | |
| 785 | // updateSingleSelectFieldOptions updates a single-select field's options |
| 786 | func updateSingleSelectFieldOptions(ctx context.Context, fieldID string, options []singleSelectOption, verbose bool) error { |
no outgoing calls