Let and apply are very helpful and I use them ofte...
# getting-started
a
Let and apply are very helpful and I use them often. I don't so much with the other two. Let is another nice way of running null checks. You can do
myNullableObject?.let { doStuffAssumingNotNull() }
Apply is also helpful when you want to run initializations for something.