let's say I have an interface with a single functi...
# getting-started
l
let's say I have an interface with a single function,
foo()
, and a method that accepts an instance of that interface. Is it possible to pass a lambda satisfying
foo()
to that method parameter?