validator is a sentinel Option type to indicate that some options could not be evaluated due to unexported fields, missing slice elements, or missing map entries. Both values are validator only for unexported fields.
| 208 | // be evaluated due to unexported fields, missing slice elements, or |
| 209 | // missing map entries. Both values are validator only for unexported fields. |
| 210 | type validator struct{ core } |
| 211 | |
| 212 | func (validator) filter(_ *state, _ reflect.Type, vx, vy reflect.Value) applicableOption { |
| 213 | if !vx.IsValid() || !vy.IsValid() { |
nothing calls this directly
no outgoing calls
no test coverage detected