Global

Methods

# hasContextSwitch(leg) → {boolean}

Checks if the given leg represents a context switch.

Parameters:
Name Type Description
leg Leg

The route leg to check for context switch.

Returns true if the leg is a context switch, false otherwise.

boolean