@neutrium/quantity - v7.1.0
    Preparing search index...

    Type Alias QuantityOperand<T>

    QuantityOperand:
        | NumericInput<T>
        | object & { scalar?: never; toString(): string }
        | QuantityDefinition<T>
        | Quantity<T>

    Arithmetic accepts scalar inputs, native-scalar definitions, and quantities with compatible backends.

    Type Parameters

    • T

    Type Declaration

    • NumericInput<T>
    • object & { scalar?: never; toString(): string }
      • Optional Readonlyscalar?: never

        Objects with a scalar are handled as quantities, definitions, or adapter-native values.

      • toString: function
        • Return a numeric literal to be validated by the selected adapter.

          Returns string

    • QuantityDefinition<T>
    • Quantity<T>