peter-tackage/kotlin-options

filterIfSome vs filterNotNone

tomaszpolanski opened this issue · 2 comments

In kotlin method for filtering out nulls from a list is called filterNotNull.
Would it make sense to add filterNotNone and deprecate the filterIfSome?

This doesn't sound unreasonable.

This would apply to both the Iterable and RxJava extensions.