how can I check if the result to call a JavaScript function is undefined?
I tried with
if( s.getNode(id1) != js.undefined)
but fastOptJS say:
scala.scalajs.js.Dynamic and scala.scalajs.js.UndefOr[Nothing] are unrelated: they will most likely always compare unequal
TIA