This discussion is archived
2 Replies Latest reply: Oct 16, 2013 9:40 PM by user13710379 RSS

CallFunction returning Object type instead of boolean

user13710379 Newbie
Currently Being Moderated

Hi,

 

I have used getScript("Somescriptname").callFunction to call a function in another script which has boolean as return type.

The above call is always returning type object ,i tried explicit casting  to boolean,but its throwing syntax error.

Please suggest

thanks & regards

Suresh M

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points