Can I store a lambda in a variable that generates a (possibly nested) view, and only invoke the lambda if a certain condition is met (i.e. only add the view to the hierarchy if a condition is met)?
👌 1
a
Adam Powell
05/23/2022, 3:04 PM
Details may vary based on what "store" means in this context but assuming you're talking about a plain composable function parameter or something, yes, this is common