Hello. Have some trouble with <Array>.includesAny.
StoryInit
<<set $eye to {
"left": 1,
"right": 2
}>>
widget
<<widget "eye_view_l">>\
<<if $eye.left.includesAny("голуб", "красн")>>\
<<print $eye.left.random()>>ой\
<<elseif $eye.left.includesAny("зелен", "розов")>>\
<<print $eye.left.random()>>ый\
<</if>>\
<</widget>>\
Set eye colors
<<link "Зеленый">><<set $eye.left to "зелен">><<refresh>><</link>>
<<link "Голубой">><<set $eye.left to "голуб">><<refresh>><</link>>
But widget in text gives me that
Error: <<eye_view_l>>: error within widget contents (Error: <<if>>: bad conditional expression in <<if>> clause: State.variables.eye.left.includesAny is not a function)
why?