Type alias These<A, B>

These<A, B>: This<A> | That<B> | Both<A, B>

The type of three variants:

  • This: there is only the left value.
  • That: there is only the right value.
  • Both: there are both of the left and right values.

This can be useful to represent combinations of two values.

Type Parameters

  • A

  • B

Generated using TypeDoc