Function @ListLevel

Hi guys I need help.

In a function, how do you get this?

image

I tried but I get this

thank you so much!

@Daniele_Bernicchia

Try this:

def lenlst(lst:var[]..[])
{
n=Count(lst@-2<1>);
return = n;
}; 

1 Like

@salvatoredragotta Thanks!

@Daniele_Bernicchia
Please mark as solved:smiley::grinning:

1 Like