am I looking for let?
# getting-started
b
am I looking for let?
a
header["Key"]?.takeIf { it.startsWith(...)}?.let {doSomething() }
d
someNullable?.let
could be what you are looking for, but there might be other options depending on the details.
b
Thank you!