Type alias OrHandler<P, A>

OrHandler<P, A>: A | ((value: P) => A)

Generic

P - the input value, in case of Left it will be R and vice versa.

Type Parameters

  • P

  • A

Generated using TypeDoc