Function(native)
Script Function object.
Properties
-
fullName : String
Fully qualified name of the function, includes name of class or namespace. For anonymous (lambda) functions it is undefined.
-
length : Integer
Returns total number of declared parameters.
-
name : String
Name of the function. For anonymous (lambda) functions it is undefined.
-
optionals : Integer
Returns number of optional parameters.
Methods
-
[this]([arg1[,arg2[, ...argN]],] functionBody) : Function
Constructor, compiles the functionBody and creates function object of it.
-
apply(thisObj [,p0, ... pN][, argv] ) : Object
Invokes the function in context of this set to thisObj.
-
call(thisObj [,p0, ... pN]) : Object
Invokes the function in context of this set to thisObj.
-
exists(tag, [deep = false]) : Boolean
Checks property by its tag for existence.
-
propertyAt(tag) : Object
Does lookup in the object for member/property by its tag. This is a direct equivalent of obj.tag construction.
-
remove(tag)
Removes property of the function by its tag (a.k.a. name).
|
|
 |
System
|
|
 |
Object
|
|
 |
Integer
|
|
 |
Float
|
|
 |
String
|
|
 |
Date
|
|
 |
Math
|
|
 |
Array
|
|
 |
RegExp
|
|
 |
Global
|
|
 |
Function
|
|
 |
Timer
|
|