2 Replies Latest reply on Jul 14, 2009 1:26 AM by atta707

    Asterisk (*) character between function name and arguments

    iamfuric

      Hello

      Can someone point me out to the documentation of using * between function name and it's arguments :

       

      var str:String = get value somehow........

      var bVal:Boolean =TypeConverter.parseBoolean*(str);

      .....

       

        public class TypeConverter{

       

      static public function parseBoolean(str:String):Boolean {
      switch(str) {
      case "1":
      case "true":
      case "yes":
      return true;
      case "0":
      case "false":
      case "no":
      return false;
      default:
      return Boolean(str);
      }

      }

      }

       

       

      What is the meaning of * here ?

      Thanks