Infers the union of return types from a tuple of IOrAlt alternatives.
// Inferred as `number | string`const result = this.OR([ { ALT: () => 1 }, { ALT: () => "hello" },]); Copy
// Inferred as `number | string`const result = this.OR([ { ALT: () => 1 }, { ALT: () => "hello" },]);
Infers the union of return types from a tuple of IOrAlt alternatives.