The
FunctionUtil utility class is an all-static class with methods for working with function.
public static function clone(f:Function):Function
Returns a copy by value of this function.
Attention : we can not copy by reference a function , if you want to do that use apply or call method to make a kind of delegate.
Parameters
Returns
public static function copy(f:Function):Function
Returns a copy by value of this object.
Parameters
Returns
public static function equals(f1:Function, f2:Function):Boolean
Compares if two Functions are equal by reference.
Parameters
Returns
public static function toSource(f:Function):String
Should returns a string representing the source code of the function,
but instead the choice has been made to only return the string “(function)”.
Parameters
Returns