NumLines returns the number of lines in the section.
()
| 74 | |
| 75 | // NumLines returns the number of lines in the section. |
| 76 | func (s *Section) NumLines() int { |
| 77 | return len(s.Lines) |
| 78 | } |
| 79 | |
| 80 | // Line returns a specific line by given type and line number in a section. |
| 81 | // nolint: gocognit |