Join Slack
Powered by
Well, in the example above, it would only work if ...
# getting-started
c
cdepillabout
04/15/2016, 12:50 PM
Well, in the example above, it would only work if foo had a single argument. If
foo
took three arguments, say
Int
,
Boolean
,
Int
, and you had
bar: Int
,
baz: Boolean
,
x: Int?
, you could imagine a syntax like this:
Copy code
x?.let { foo bar baz }
Open in Slack
Previous
Next