No.
You'll have to pass in scalars too.
No.
You'll have to pass in scalars too.
if you want to know if a list is empty, you must provide a list...
Well, what reshape does is it creates a new list filled with whatever value you put in the first input slot. If you put nothing, then it would make a new list filled with nothing. So doing that makes sense. But what is empty? does is see if the list in the first input slot is empty. So if you put nothing, then it's not a list so it errors.
it don't put nothing, it put a null value. A null value isin't nothing... (in my opinion)
Undefined is more of a nothing value than null imo
You're right.
There are better ways to do it than that, also the topic is already solved (I think)
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.