package js.lib
Available on js
new(arg:String, rest:Rest<String>)
Creates a new Function object.
read onlylength:Int
Specifies the number of arguments expected by the function.
name:String
The name of the function.
apply(thisArg:Dynamic, argsArray:Array<Dynamic>):Dynamic
Calls a function and sets its this to the provided value, arguments can be passed as an Array object.
bind(thisArg:Dynamic, args:Rest<Dynamic>):Function
Creates a new function which, when called, has its this set to the provided value, with a given sequence of arguments preceding any provided when the new function was called.
call(thisArg:Dynamic, args:Rest<Dynamic>):Dynamic
Calls (executes) a function and sets its this to the provided value, arguments can be passed as they are.
toString():String
Returns a string representing the source code of the function.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/Function.html