Affects Version/s: None
Fix Version/s: Release 1.5
Patch:Code and Test
The contains? function, given a collection which is not an associative (Map, Set, String, array), returns false instead of throwing an exception.
This is a subject of confusion when people call contains? on sequential collections like lists, and on associative collections which do not implement the Associative interface.
Other predicates, such as even?, throw an exception when passed arguments of an invalid type.
|Fix Version/s||Release 1.5 [ 10150 ]|
|Fix Version/s||Backlog [ 10035 ]|
|Approval||Vetted [ 10003 ]||Screened [ 10004 ]|
|Approval||Screened [ 10004 ]||Ok [ 10007 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Completed [ 1 ]|