mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
(CPArray)arrayByApplyingBlock: documentation
This commit is contained in:
1 parent
08aa591c65
commit
8c67eee4c8
1 file changed
+5
-1
@@ -880,7 +880,11 @@ Returns a hash for the object. Unlike Cocoa, the hash value does not take conten
|
||||
return join.call([self _javaScriptArrayCopy], aString);
|
||||
}
|
||||
|
||||
/* @ignore */
|
||||
/*!
|
||||
Returns an Array formed by applying a function to the objects in the receiver.
|
||||
@param aFunction a function taking two arguments: (element, index).
|
||||
@return an Array containing the transformed elements.
|
||||
*/
|
||||
- (CPArray)arrayByApplyingBlock:(Function/*element, index*/)aFunction
|
||||
{
|
||||
var result = [],
|
||||
|
||||
Reference in new issue
Block a user