Three-variant disjoint union type (Left/Right/Both) for values that may be present on either or both of two sides
-
Updated
Apr 28, 2026 - PHP
Three-variant disjoint union type (Left/Right/Both) for values that may be present on either or both of two sides
The enums EitherOrBoth with the three variants Left, Right, Both and Either with the Left and Right variants
Add a description, image, and links to the either-or-both topic page so that developers can more easily learn about it.
To associate your repository with the either-or-both topic, visit your repo's landing page and select "manage topics."