• Find all contiguous segments in the array that are between start and end blocks. The start and end are functions that determine when a region starts and ends.

    Parameters

    • tree: Node[]
    • start: ((node) => boolean)
        • (node): boolean
        • Parameters

          Returns boolean

    • end: ((node) => boolean)
        • (node): boolean
        • Parameters

          Returns boolean

    Returns Region[]

Generated using TypeDoc