how can i check if the result for calling the javascript function is undefined?
I tried using
if( s.getNode(id1) != js.undefined)
but fastOptJS will say:
scala.scalajs.js.Dynamic and scala.scalajs.js.UndefOr [Nothing] are unrelated: they are likely to always compare unequal
TIA
gilcu2
source share