uom-types - v0.0.0-development
    Preparing search index...

    Function add

    • Add two values with the same units together.

      Type Parameters

      • T extends number

      Parameters

      • a: OperationIO<T>
      • b: OperationIO<T>

      Returns OperationIO<T>

      a + b

    • Add two values with the same units together.

      Type Parameters

      • T extends number

      Parameters

      • b: OperationIO<T>

      Returns (a: OperationIO<T>) => OperationIO<T>

      (a) => a + b