[F] skipTriviaBackward
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
script | TypeSpecScriptNode | undefined | |
position | number | undefined | |
endPosition | number | -1 | exclude |
Returns
number
return === endPosition (or -1) means not found non-trivia until endPosition + 1