Lambda Expression

The Lambda Expression delegate node is used to create an anonymous function that you can use to create delegates. By using this node, you can write local functions that can be passed as arguments or returned as the value of function calls.


Using example

In this example we will use the Lambda Expression delegate node to create a search filter for the “FindAll“ node. After connecting the Lambda Expression delegate node to a “match” pin it will be initialized and we can use the delegate argument for making a filter based on a Math Operations Node. The output must be a bool value which we can connect to a “result” pin of the lambda delegate node. All values which are more than 10 will pass the filter:

Render time: 0.02 seconds
136,979 unique visits