toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-typescript
/
typescript
/
reduceEachLeadingCommentRange
reduce
Each
Leading
Comment
Range
external
fun
<
T
,
U
>
reduceEachLeadingCommentRange
(
text
:
String
,
pos
:
Double
,
cb
:
(
pos
:
Double
,
end
:
Double
,
kind
:
CommentKind
,
hasTrailingNewLine
:
Boolean
,
state
:
T
)
->
U
,
state
:
T
,
initial
:
U
)
:
U
?
(
source
)