HasExplanation indicates whether the explanation field is set of the match.
()
| 334 | |
| 335 | // HasExplanation indicates whether the explanation field is set of the match. |
| 336 | func (m *Match) HasExplanation() bool { |
| 337 | return m.explanation != nil |
| 338 | } |
| 339 | |
| 340 | // Explanation returns the explanation expression, or empty expression if output is not set. |
| 341 | func (m *Match) Explanation() ValueString { |
no outgoing calls
no test coverage detected