Developer   API   Core & System   Function

  •  Config(0)
  •  Properties(4)
  •  Methods(6)
  •  Events(0)

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).
API Navigation
Skip Navigation Links.
Expand <span>User Interface</span> User Interface
Collapse <span>Core & System</span> Core & System
System
Object
Integer
Float
String
Date
Math
Array
RegExp
Global
Function
Timer
Expand <span>Graphics</span> Graphics
Expand <span>Files and Databases</span> Files and Databases
Expand <span>Crypto</span> Crypto
Expand <span>Native User Interface</span> Native User Interface
Expand <span>Net</span> Net
Expand <span>Media</span> Media
Expand <span>Sensor</span> Sensor
Expand <span>Game Development</span> Game Development