()
| 139 | } |
| 140 | |
| 141 | func (f pathFilter) String() string { |
| 142 | return fmt.Sprintf("FilterPath(%s, %v)", function.NameOf(reflect.ValueOf(f.fnc)), f.opt) |
| 143 | } |
| 144 | |
| 145 | // FilterValues returns a new [Option] where opt is only evaluated if filter f, |
| 146 | // which is a function of the form "func(T, T) bool", returns true for the |