Lines Matching defs:end

1577      * or may return a primitive value will automatically end the chain sequence
1892 end = view.end,
1893 length = end - start,
1894 index = isRight ? end : (start - 1),
2925 * @param {number} [end=array.length] The end position.
2928 function baseFill(array, value, start, end) {
2935 end = (end === undefined || end > length) ? length : toInteger(end);
2936 if (end < 0) {
2937 end += length;
2939 end = start > end ? 0 : toLength(end);
2940 while (start < end) {
3157 * @param {number} end The end of the range.
3160 function baseInRange(number, start, end) {
3161 return number >= nativeMin(start, end) && number < nativeMax(start, end);
3929 * @param {number} end The end of the range.
3934 function baseRange(start, end, step, fromRight) {
3936 length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),
4101 * @param {number} [end=array.length] The end position.
4104 function baseSlice(array, start, end) {
4111 end = end > length ? length : end;
4112 if (end < 0) {
4113 end += length;
4115 length = start > end ? 0 : ((end - start) >>> 0);
4541 * @param {number} [end=array.length] The end position.
4544 function castSlice(array, start, end) {
4546 end = end === undefined ? length : end;
4547 return (!start && end >= length) ? array : baseSlice(array, start, end);
5392 return function(start, end, step) {
5393 if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {
5394 end = step = undefined;
5398 if (end === undefined) {
5399 end = start;
5402 end = toFinite(end);
5404 step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);
5405 return baseRange(start, end, step, fromRight);
6135 * Gets the view, applying any `transforms` to the `start` and `end` positions.
6139 * @param {number} end The end of the view.
6141 * @returns {Object} Returns an object containing the `start` and `end`
6144 function getView(start, end, transforms) {
6154 case 'dropRight': end -= size; break;
6155 case 'take': end = nativeMin(end, start + size); break;
6156 case 'takeRight': start = nativeMax(start, end - size); break;
6159 return { 'start': start, 'end': end };
7121 * Creates a slice of `array` with `n` elements dropped from the end.
7156 * Creates a slice of `array` excluding elements dropped from the end.
7239 * including, `end`.
7250 * @param {number} [end=array.length] The end position.
7266 function fill(array, value, start, end) {
7273 end = length;
7275 return baseFill(array, value, start, end);
7495 * offset from the end of `array`.
7716 * element from the end is returned.
7960 * Creates a slice of `array` from `start` up to, but not including, `end`.
7972 * @param {number} [end=array.length] The end position.
7975 function slice(array, start, end) {
7980 if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {
7982 end = length;
7986 end = end === undefined ? length : toInteger(end);
7988 return baseSlice(array, start, end);
8242 * Creates a slice of `array` with `n` elements taken from the end.
8277 * Creates a slice of `array` with elements taken from the end. Elements are
9474 * the offset from the end of `collection`.
14066 * Checks if `n` is between `start` and up to, but not including, `end`. If
14067 * `end` is not specified, it's set to `start` with `start` then set to `0`.
14068 * If `start` is greater than `end` the params are swapped to support
14077 * @param {number} end The end of the range.
14103 function inRange(number, start, end) {
14105 if (end === undefined) {
14106 end = start;
14109 end = toFinite(end);
14112 return baseInRange(number, start, end);
14286 var end = position;
14288 return position >= 0 && string.slice(position, end) == target;
15038 end = charsEndIndex(strSymbols, chrSymbols) + 1;
15040 return castSlice(strSymbols, start, end).join('');
15071 end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;
15073 return castSlice(strSymbols, 0, end).join('');
15165 var end = length - stringSize(omission);
15166 if (end < 1) {
15170 ? castSlice(strSymbols, 0, end).join('')
15171 : string.slice(0, end);
15177 end += (result.length - end);
15180 if (string.slice(end).search(separator)) {
15191 result = result.slice(0, newEnd === undefined ? end : newEnd);
15193 } else if (string.indexOf(baseToString(separator), end) != end) {
15852 * the nth argument from the end is returned.
16015 * `start` up to, but not including, `end`. A step of `-1` is used if a negative
16016 * `start` is specified without an `end` or `step`. If `end` is not specified,
16027 * @param {number} end The end of the range.
16065 * @param {number} end The end of the range.
17049 LazyWrapper.prototype.slice = function(start, end) {
17053 if (result.__filtered__ && (start > 0 || end < 0)) {
17061 if (end !== undefined) {
17062 end = toInteger(end);
17063 result = end < 0 ? result.dropRight(-end) : result.take(end - start);