(element: string)
| 71 | |
| 72 | /** Whether a match of {@link SFC_SCRIPT_OR_STYLE_ELEMENT} has a body: false for a self-closing tag. */ |
| 73 | export function sfcElementHasBody(element: string): boolean { |
| 74 | return !element.endsWith('/>'); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * The lines (0-indexed, inclusive) of each `<script>` and `<style>` element |
no outgoing calls
no test coverage detected