I don't find it very unidiomatic to start with, bu...
# getting-started
m
I don't find it very unidiomatic to start with, but it could be written like this:
Copy code
val end = scoping.scopePositionEnd
                 .takeUnless { it == -1 } 
                 ?: parameters.lastIndex
­čĹŹ 2