- add<T extends number>(a: OperationIO<T>, b: OperationIO<T>): OperationIO<T>
Parameters
- a: OperationIO<T>
- b: OperationIO<T>
Returns OperationIO<T>
a + b
- add<T extends number>(b: OperationIO<T>): (a: OperationIO<T>) => OperationIO<T>
Returns (a: OperationIO<T>) => OperationIO<T>
(a) => a + b
Add two values with the same units together.