Executes the action multiple times for each value of this input, so the input appears as a single value (not a list) to the function implementation.
action (FindMenuOption) {
type (Calculation)
collect {
input (optionName) { // options to find
type (viv.restaurant.MenuOptionName)
min (Required) max (One)
// function implementation sees this input as a single cardinal input (not a list)
iterable
}
input (item) {
type (MenuItem)
min (Required) max (One)
}
}
output (MenuOptionInfo)
}
Copyright 2024 Samsung All rights reserved