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