Each function in the library is represented by the following information:
The function name and the number of function parameters. Function names are case sensitive.
Example: abs(value)
Usage: var a = 3*Lang.abs(length);
What the function accomplishes.
The function parameter types.
Example: value = Number
Specifies the types of return value.
Example: String or invalid.
Describes the possible special exceptions and error codes and the corresponding return values. Standard errors, common to all functions, are not described here.
Example: If value1 <= 0 and value2 < 0 is not an integer, invalid is returned.
Gives a few examples of how the function could be used.
var a = -3;
var b = Lang.abs(a); // b = 3