Supposedly matches any type that can hold many items, including system types like Array, Set, Map, Iterator, Generator, arguments etc.
WARNING: Unfortunately, it also matches all Single object types like Date, Error, Number, Promise etc, which is wrong. On the other hand, Single works fine, because it doesn't match Many types.
@todo(333): NOT WORKING PROPERLY YET! Need to find a way to exclude Boxed singles (eg String, Date etc) from Many.
We can use IsMany that excludes these known Single types ;-)
Supposedly matches any type that can hold many items, including system types like Array, Set, Map, Iterator, Generator, arguments etc.
WARNING: Unfortunately, it also matches all
Single
object types likeDate
,Error
,Number
,Promise
etc, which is wrong. On the other hand,Single
works fine, because it doesn't matchMany
types.@todo(333): NOT WORKING PROPERLY YET! Need to find a way to exclude Boxed singles (eg String, Date etc) from Many.
We can use IsMany that excludes these known Single types ;-)