Is it possible to add the contains method to List
so instead of
becomes
I know it's a similar amount of code to write, but it seems clearer using .contains()
so instead of
B4X:
If myList.indexOf("someValue") <> -1 then ...
becomes
B4X:
If myList.contains("someValue") then ...
I know it's a similar amount of code to write, but it seems clearer using .contains()