文件名称:fj-some:数组的功能性`some`
文件大小:7KB
文件格式:ZIP
更新时间:2024-07-01 12:21:17
JavaScript
fj-一些 some用于数组的功能。 安装 npm install fj-some --save 用法 var some = require ( 'fj-some' ) ; some ( elem => elem > 10 , [ 2 , 5 , 8 , 1 , 4 ] ) ; // False. ##API cb -> array 一个柯里化函数,期望: cb [required] :一个回调函数,接收: currentValue 、 index和array 。 array [必需]:应用函数的数组。
【文件预览】:
fj-some-master
----.travis.yml(116B)
----index.js(2KB)
----CONTRIBUTING.markdown(330B)
----test.js(1KB)
----package.json(876B)
----test.es6(143B)
----gulpfile.js(684B)
----index.es6(381B)
----LICENSE(1KB)
----README.markdown(601B)
----.gitignore(933B)
----.jshintrc(611B)