Join Slack
Powered by
Is it possible to define a method on optional type...
# announcements
m
mg6maciej
03/07/2016, 11:39 AM
Is it possible to define a method on optional type? Just like I can define an extension function:
fun MyClass?.myFunction() = ...
I was thinking about something like:
Copy code
class MyClass { fun ?myFunction() = ... }
Open in Slack
Previous
Next