| fun test1(a: Any, x: Collection<Any>): Boolean { | |
| return x.contains(element = a) | |
| } | |
| fun test2(a: Any, x: Collection<Any>): Boolean { | |
| return x.contains(element = a).not() | |
| } | |
| fun <T : Any?> test3(a: T, x: Collection<T>): Boolean { | |
| return x.contains(element = a) | |
| } | |
| fun <T : Any?> test4(a: T, x: Collection<T>): Boolean { | |
| return x.contains(element = a).not() | |
| } |