Class Index | File Index

Classes


Built-In Namespace Function

Method Summary
Method Attributes Method Name and Description
 
bind(ctx, args)
Binds an execution context and an optional argument list to this function.
 
curry(list)
Bind a number of arguments to this function, not specifying execution context.
 
delay(ms, ctx, args)
Calls the function after the specified timeout.
<static>  
Function.empty()
Returns an empty (typically placeholder) function.
 
Alias of curry.
 
repeat(n, ctx)
Calls this function n times, providing the current iteration (1-based) and n and the each time.
<static>  
Function.test(o)
Checks if the provided object is a Function.
Method Detail
{Function} bind(ctx, args)
Binds an execution context and an optional argument list to this function.
Defined in: nativelib-dev.js.
Parameters:
{Object} ctx
The bound execution context.
{Array} args
The bound arguments array.
Returns:
{Function} The bound function.

{Function} curry(list)
Bind a number of arguments to this function, not specifying execution context.
Defined in: nativelib-dev.js.
Parameters:
{Arguments} list
An argument list to bind.
Returns:
{Function} The bound function.

{Number} delay(ms, ctx, args)
Calls the function after the specified timeout.
Defined in: nativelib-dev.js.
Parameters:
{Number} ms
The number of milliseconds to delay.
{Object} ctx
The function's execution context.
{Array} args
An arguments array to pass to the function.
Returns:
{Number} The timeout's ID.

<static> {Function} Function.empty()
Returns an empty (typically placeholder) function.
Defined in: nativelib-dev.js.
Returns:
{Function} The empty function.

partial()
Alias of curry.
Defined in: nativelib-dev.js.

repeat(n, ctx)
Calls this function n times, providing the current iteration (1-based) and n and the each time.
Defined in: nativelib-dev.js.
Parameters:
{Number} n
The number of iterations.
{Object} ctx
(optional) The exection context.

<static> {Boolean} Function.test(o)
Checks if the provided object is a Function.
Defined in: nativelib-dev.js.
Parameters:
{Object} o
The object to check.
Returns:
{Boolean} true if it is a Function, false if not.

Documentation generated by JsDoc Toolkit 2.3.3 on Sat Oct 16 2010 01:15:38 GMT-0400 (EDT)