IsSet returns true if and only if a custom output style is set.
()
| 16 | |
| 17 | // IsSet returns true if and only if a custom output style is set. |
| 18 | func (s *Output) IsSet() bool { |
| 19 | return s.Name != "" |
| 20 | } |
| 21 | |
| 22 | func (s *Output) UnmarshalYAML(node *yaml.Node) error { |
| 23 | switch node.Kind { |
no outgoing calls
no test coverage detected