Returns any one of the shortest word sets accepted by the given iterator.
If the iterator does not accept any words, undefined will be returned.
undefined
This function assumes that all character sets in the given iterator are non-empty.
This operation is roughly equivalent to firstOf(iterateWordSets(iter)) but implemented much more efficiently.
firstOf(iterateWordSets(iter))
Returns any one of the shortest word sets accepted by the given iterator.
If the iterator does not accept any words,
undefined
will be returned.This function assumes that all character sets in the given iterator are non-empty.
This operation is roughly equivalent to
firstOf(iterateWordSets(iter))
but implemented much more efficiently.