...
| Code Block | ||
|---|---|---|
| ||
def c1c = { it } assert clc() == null assert clc(1) == 1 |
When using nested cosures (closures in closures) the meaning of "it" depends on the closure you are in.
...
...
| Code Block | ||
|---|---|---|
| ||
def c1c = { it } assert clc() == null assert clc(1) == 1 |
When using nested cosures (closures in closures) the meaning of "it" depends on the closure you are in.
...