Pure helper: convert a tab index into the new value the discriminated union should emit. Returns undefined when the index is out of bounds.
undefined
Extracted so the contract is unit-testable without instantiating the Vue component (which relies on the Vue runtime).
Pure helper: convert a tab index into the new value the discriminated union should emit. Returns
undefinedwhen the index is out of bounds.Extracted so the contract is unit-testable without instantiating the Vue component (which relies on the Vue runtime).