No, `let` is a higher-order function, i. e. a func...
# getting-started
m
No,
let
is a higher-order function, i. e. a function that takes another function (that can be a lambda-expression) as an argument/parameter.
{}
is a lambda. You can write either
me?.let { newMe -> hi(newMe.name) }
or
me?.let { hi(it.name) }
because
let
accepts a single-argument lambda.