[haXe] instanceof Function

Luke Schreur luke.schreur at profero.com.au
Tue Dec 4 02:07:18 CET 2007


Hi, I'm sure this has been asked before but I can't seem to be able  
to find it.

I would like to know what the equivalent of 'instanceof Function'  
would be in haxe, as in:

	if( f instanceof Function )

Since the Function type doesn't exist, I can't do Std.is(f, Function).

Any help appreciated.

Thanks,
Luke



More information about the Haxe mailing list