removeFluid

open fun removeFluid(amount: Double): Boolean(source)

Removes from the tank only if the new amount of fluid is greater than zero and fits in the tank.

Return

true only if the tank was added to successfully