Skip to content

function_map

Wesley de Groot edited this page Oct 23, 2015 · 31 revisions
            	     _    _____ 
        	        | |  / ____|
    	            | |  | (___ 
	            _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/

Function map

_('.wrapper').map(arr,callback_int)


Walk trough the array, and perform a function
*

Parameter list

Type @var Description Required
object [object] Wrapper Optional
array arr Array Required
function callback_int Callback Required
#### Example: `_.map(['a','b','c'], function(i,v){alert('item '+i+', value: '+v);});`

Returns:

Array



Back to function list

Clone this wiki locally