← All ideas
  • Published 3 Dec 2025

Is Closure Valid node

If we make a node group that takes a closure as input, it would be nice if we could check that a closure was actually passed and provide a default implementation if necessary.

100%

Development Status: Open

Upvote 8 Downvote 0
Wahooney
3 Dec 2025

1 Comment

ChameleonScales

Would be neat, though you can perform this specific verification by adding a boolean in your closure:

Imgur screenshot

Note that if no closure is plugged, the Switch node's boolean input will take whatever value was assigned to it when nothing was plugged in it, so make sure it's unchecked when the link is removed.

You can perform other checks to verify that the Closure's outputs conform to the "Evaluate Closure" inputs, but indeed a simple "Is Valid Closure" would be a much simpler and genaral solution.

2