plus

operator fun plus(other: Energy): Energy

Adds two Energy values.

Return

The sum of the two Energy values.

Parameters

other

The Energy value to add.