operator - method

Obj<num> operator -(
  1. Obj<num> other
)

Subtracts other from this number.

The result is an Obj of double, as described by double.-, if both this and other is an Obj of double, otherwise the result is a Obj of int.

Implementation

Obj<num> operator -(Obj<num> other) => (value - other.value).obj;