Group minimum?

Hello,
Any idea how can I get the minimum value in a decimal group?
for example get the minimum battery value?
something like:

gBatteries.allMembers.filter([state instanceof DecimalType]).min

Thanks!

Group:Number:MIN gBattery "Sensor Batteries" <battery> (gAll, gInfluxSlow)
1 Like

Thanks!