Open
Description
IsList()
with no arguments is equivalent to an empty list, but the user probably just wants to check for a list with any number of items. It should throw an error suggesting that the user write IsList(length=0)
or IsList(length=...)
to prevent ambiguity. Similar for IsTuple()
. Maybe even IsListOrTuple()
.
Metadata
Metadata
Assignees
Labels
No labels