Member predicate ForeachStmt::getVariable

Gets the local variable of this foreach loop, if any.

For example, item in

foreach (var item in items) {
  ...
}
LocalVariable getVariable()