minus

operator fun minus(other: Energy): Energy

Subtracts another Energy instance from this one.

Return

A new Energy instance representing the difference.

Parameters

other

The Energy to subtract.