【每日一包0001】is-sorted

github地址:https://github.com/ABCDdouyae...git

is-sorted

用于判断数组是否被排序了

文档地址:https://www.npmjs.com/package/is-sortedgithub

用法:is-sorted(Array, 排序规则函数)npm

返回:boolean数组

默认:升序函数

相关文章
相关标签/搜索