 class="punctuation">}</span>
  <span class="keyword">if</span> <span class="punctuation">(</span>valueId <span class="operator">==</span> <span class="string">'open'</span><span class="punctuation">)</span> <span class="punctuation">{</span>
    newValue <span class="keyword">as</span> <span class="builtin">boolean</span><span class="punctuation">;</span> <span class="comment">//  OK</span>
    oldValue <span class="keyword">as</span> <span class="builtin">boolean</span><span class="punctuation">;</span> <