Function of WouldAdvancingCauseTransition?

For me it is a little unclear how WouldAdvancingCauseTransition works. What happens if there is some transition between the current position and test position?

In that case, the function returns true. Otherwise it returns false.
It’s very useful for verifying that a channel held its state without needing to advance it yet.

You can see it used in our CAN analyzer here:

Here it advances between edges until it finds an edge that’s followed by a constant value of a minimum length. However it does not advance to the end of that minimum length.

Thanks for info, I was hopping that it was ignoring what happens between the two points.