so the reverse of that. can I turn a string into a...
# announcements
s
so the reverse of that. can I turn a string into a property!?
d
Yes.
MyClass::class.memberProperties.filter { it.name == "myProperty" }
s
Ok, that's how I was doing it, wasn't sure if there was an easier way. Thanks!
It doesn't retain nullability though which seems weird.
d
How do you mean?
s
I wasn't able to check if the property was null, because intellij insisted that the property could never be null, even though it was marked as null.
my intellij also might have just been going really slowly.
d
Strange.