Bixby Developer Center

Guides
References

iterable

optional

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.

Example

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)
}