Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Invoke

NPM version Build status Test coverage Greenkeeper badge

Functional utility for creating a function that will invoke the same method on every passed in object.

Installation

npm install util-invoke --save

Usage

var children = [1, 2, 3, true];

children.map(invoke('toString', 10)); //=> ['1', '2', '3', 'true']

License

MIT

About

Functional utility for invoking the same method on every call in JavaScript

Resources

License

Sponsor this project

 

Packages

No packages published
You can’t perform that action at this time.