iterable-some:Array.some用于可迭代

时间:2021-05-17 22:49:05
【文件属性】:
文件名称:iterable-some:Array.some用于可迭代
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-17 22:49:05
JavaScript ::一些() Array.some用于可迭代。 安装 $ npm install iterable-some 用法 import some from 'iterable-some/module' ; // or: const some = require ( 'iterable-some' ) ; 这些都是true : [ false , null , 0 , 'truthy' ] :: some ( function ( ) { return this ; } ) ; new Set ( [ 5 ] ) :: some ( function ( ) { return this > 4 ; } ) ; new Map ( [ 2 , 'nope' ] , [ 5 , 'yup' ] ) :: some ( function ( ) { return this === 'y
【文件预览】:
iterable-some-master
----.coveralls.yml(46B)
----module()
--------index.js(134B)
----.eslintrc(64B)
----.gitattributes(2KB)
----Readme.md(3KB)
----test.js(2KB)
----.travis.yml(202B)
----License.md(1KB)
----.editorconfig(841B)
----.gitignore(319B)
----module.js(61B)
----.eslintignore(140B)
----package.json(2KB)

网友评论