# var1が必須ではないパラメータの場合、省略できる item.var1 | default(omit) # var1が未定義時に空の配列を返す item.var1 | default([])
when: (item.var1 | default("")) == "foo"