Skip to content
/ istool Public

Functional Javascript Library with Higher order functions

Notifications You must be signed in to change notification settings

daewon/istool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

istool.js - higher-order functions

npm install istool

usage

var is = require('istool')

API References

is.eq

equal

var arr = ['daewon', 'dun'].filter(is.eq('daewon'));
// ['daewon']
is.ne

not equal

var arr = ['daewon', 'dun'].filter(is.ne('daewon'));
// ['dun']
is.pluck

extract field

var arr = [{name: 'daewon', age: 19}, {name: 'dun', age: 32}].map(is.pluck('name'));
// ['daewon', 'dun']

About

Functional Javascript Library with Higher order functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published