Kind: Function
Source: atloria-monorepo/apps/web/src/components/change-requests/section-merge.ts
Find the [start, end) line range of the section in lines, or null when
the heading is not present.
Signature
tsfunction findSectionRange(lines: string[], heading: string, level: number): { start: number; end: number } | null
Parameters
| Name | Type |
|---|---|
lines | string[] |
heading | string |
level | number |
Returns: { start: number; end: number } | null
Was this page helpful?