chaiNNer
chaiNNer copied to clipboard
Add First node for iterators
Motivation Sometimes it can be very useful to simply get the first element of an iterator.
Description The node should behave as follows: It takes a single iterator and returns the first element returned by the iterator. If the iterator is empty, throw an error. The important property here is that the value returned by the node must not be iterated.