✏️ 编辑:sortedIndex.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/sortedIndex.js
大小:626 B · 修改:2022-11-21 20:09:54 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
var baseSortedIndex = require('./_baseSortedIndex'); /** * Uses a binary search to determine the lowest index at which `value` * should be inserted into `array` in order to maintain its sort order. * * @static * @memberOf _ * @since 0.1.0 * @category Array * @param {Array} array The sorted array to inspect. * @param {*} value The value to evaluate. * @returns {number} Returns the index at which `value` should be inserted * into `array`. * @example * * _.sortedIndex([30, 50], 40); * // => 1 */ function sortedIndex(array, value) { return baseSortedIndex(array, value); } module.exports = sortedIndex;
💾 保存
取消
保存为 UTF-8,换行统一为 LF