Skip to content

Level

Returns the sub-expressions at a given level.

$ wo 'Level[{{a, b}, {c, d}}, {1}]'
{{a, b}, {c, d}}
$ wo 'Level[{{a, b}, {c, d}}, {2}]'
{a, b, c, d}