Re: [flexcoders] What is '*' in class type?

2008-12-23 Thread Manish Jethani
On Tue, Dec 23, 2008 at 10:35 PM, luvfotography wrote: > public function parseResult( result:*):Array { > > if( result is XML || result is XMLList ) { > . . . . > ... > > > what is the '*' , is this the same as (result:object) ? > where result can be any type of object? If

Re: [flexcoders] What is '*' in class type?

2008-12-23 Thread Ralf Bokelberg
Object cannot, it can only hold null. > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of luvfotography > Sent: Tuesday, December 23, 2008 9:05 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] What is '*' in class

RE: [flexcoders] What is '*' in class type?

2008-12-23 Thread Alex Harui
'*' can hold the value undefined. Object cannot, it can only hold null. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sent: Tuesday, December 23, 2008 9:05 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] What is '*'

[flexcoders] What is '*' in class type?

2008-12-23 Thread luvfotography
Hi, I saw this in someone's code: public function parseResult( result:*):Array { if( result is XML || result is XMLList ) { . . . . ... what is the '*' , is this the same as (result:object) ? where result can be any type of object?