Cannot return value from a custom function

Cannot return value from a custom function

Hello, 
It appears any function created in Automation -> Actions -> Custom functions has return type void. Part of the value of reusable functions is that ability to do work and then return the results of that work. How do I return a value ?