Join Slack
Powered by
Can I define an extension function on class rather...
# announcements
d
dimsuz
03/06/2017, 10:47 AM
Can I define an extension function on class rather than on its instance? For example I have a library class
Foo
and I want to define
Foo.func()
which would be accessible without creating an instance of
Foo
?
Open in Slack
Previous
Next