Hmm, I think you misunderstood what inline function is.

In my simple word, inline function is a function that will be merged into the main caller function during compilation for supposing faster processing, at the cost of potential bigger executable size. Check the definition

As for the your input, yes, if a function returns nullable item, we’ll still need to use ? within the let scope.

Written by

Passionate about learning, and sharing mobile development and others

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store