Hullaballoonatic
09/13/2018, 11:02 PMisNullOrEmpty()
not just an extension property so that the () are unnecessary? so that they can be overloaded? I usually create extensions for readabilitygildor
09/14/2018, 2:26 AMso that they can be overloadedI didn’t get what you mean.
Hullaballoonatic
09/14/2018, 2:27 AMgildor
09/14/2018, 2:27 AMgildor
09/14/2018, 2:27 AMHullaballoonatic
09/14/2018, 2:27 AMgildor
09/14/2018, 2:27 AMHullaballoonatic
09/14/2018, 2:28 AMgildor
09/14/2018, 2:28 AMgildor
09/14/2018, 2:29 AMHullaballoonatic
09/14/2018, 2:29 AM()
and have it just be a property?gildor
09/14/2018, 2:30 AMHullaballoonatic
09/14/2018, 2:30 AMval Collection.isNotEmpty get() = !this.isEmpty()
Hullaballoonatic
09/14/2018, 2:31 AMgildor
09/14/2018, 2:31 AMgildor
09/14/2018, 2:32 AMlist.isNotEmpty
vs list.isNotEmpty()
, not a bug difference for megildor
09/14/2018, 2:32 AMgildor
09/14/2018, 2:33 AMHullaballoonatic
09/14/2018, 2:33 AMgildor
09/14/2018, 2:33 AMHullaballoonatic
09/14/2018, 2:34 AMgildor
09/14/2018, 2:34 AM