impasto
    Preparing search index...

    Function splitSection

    • Splits code lines into a section and its context.

      Parameters

      • lines: LineElement[]

        The original lines of code.

      • section: undefined | string

        The name of the section to isolate. If falsy, all lines are considered part of the content.

      Returns SplitSectionResult