Join Slack
Powered by
The property doesn't exist if the object doesn't e...
# getting-started
m
marstran
08/16/2017, 12:19 PM
The property doesn't exist if the object doesn't exist. If it is a constant across all objects of that class, you may want to define it inside the companion object of the class though. Then you could access it with
MyClass.property
.
5
Views
Open in Slack
Previous
Next