extract

fun extract(nodes: Iterable<IMfmNode>, predicate: (IMfmNode) -> Boolean): List<IMfmNode>

Inspects the MfmNode tree and returns as an array the nodes that match the conditions of the predicate function.