public static cleanDocLine(value as String) as String
Removes leading documentation comment delimiters (*) from a single line while preserving relative indentation for embedded code examples.
| Parameter | Description |
|---|---|
value | Raw documentation comment line. |
Cleaned documentation line.
import klyn.code.klyn
assert KlynDocComment.cleanDocLine(" * return 42") == " return 42"