HasExplanation indicates whether the explanation field is set of the match.
()
| 376 | |
| 377 | // HasExplanation indicates whether the explanation field is set of the match. |
| 378 | func (m *Match) HasExplanation() bool { |
| 379 | return m.explanation != nil |
| 380 | } |
| 381 | |
| 382 | // Explanation returns the explanation expression, or empty expression if output is not set. |
| 383 | func (m *Match) Explanation() ValueString { |
no outgoing calls
no test coverage detected