Void function() inside a function node


I have a question - i have a nested if-else block and majority of the implementation within the block have similar lines of code.

Is there a way how i can have a void function() within a function block? i did try but i get an error in creating a void function.

Not sure what you mean by a void function, that isn't a JavaScript thing.

You can certainly put a function definition inside a function node.

function doThing() {
    return 'thing'

return {payload: doThing()}
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.