recursiveFinder
fun <T> recursiveFinder(start: T, curDepth: Int = 0, maxDepth: Int = 9, finder: T.() -> Iterable<T>, filter: T.() -> Boolean, current: HashSet<T> = HashSet()): HashSet<T>
Recursive finder
Parameters
start
The extension to start from
curDepth
The current depth
maxDepth
The maximum depth
finder
The finder function
filter
The filter function
current
The current list of results
T
The type of the result