Lines Matching +defs:step +defs:start
1891 start = view.start,
1893 length = end - start,
1894 index = isRight ? end : (start - 1),
2924 * @param {number} [start=0] The start position.
2928 function baseFill(array, value, start, end) {
2931 start = toInteger(start);
2932 if (start < 0) {
2933 start = -start > length ? 0 : (length + start);
2939 end = start > end ? 0 : toLength(end);
2940 while (start < end) {
2941 array[start++] = value;
3156 * @param {number} start The start of the range.
3160 function baseInRange(number, start, end) {
3161 return number >= nativeMin(start, end) && number < nativeMax(start, end);
3928 * @param {number} start The start of the range.
3930 * @param {number} step The value to increment or decrement by.
3934 function baseRange(start, end, step, fromRight) {
3936 length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),
3940 result[fromRight ? length : ++index] = start;
3941 start += step;
3979 * @param {number} [start=func.length-1] The start position of the rest parameter.
3982 function baseRest(func, start) {
3983 return setToString(overRest(func, start, identity), func + '');
4100 * @param {number} [start=0] The start position.
4104 function baseSlice(array, start, end) {
4108 if (start < 0) {
4109 start = -start > length ? 0 : (length + start);
4115 length = start > end ? 0 : ((end - start) >>> 0);
4116 start >>>= 0;
4120 result[index] = array[index + start];
4540 * @param {number} start The start position.
4544 function castSlice(array, start, 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;
5397 start = toFinite(start);
5399 end = start;
5400 start = 0;
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.
6138 * @param {number} start The start of the view.
6141 * @returns {Object} Returns an object containing the `start` and `end`
6144 function getView(start, end, transforms) {
6153 case 'drop': start += 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 };
6606 * @param {number} [start=func.length-1] The start position of the rest parameter.
6610 function overRest(func, start, transform) {
6611 start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
6615 length = nativeMax(args.length - start, 0),
6619 array[index] = args[start + index];
6622 var otherArgs = Array(start + 1);
6623 while (++index < start) {
6626 otherArgs[start] = transform(array);
7238 * Fills elements of `array` with `value` from `start` up to, but not
7249 * @param {number} [start=0] The start position.
7266 function fill(array, value, start, end) {
7271 if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {
7272 start = 0;
7275 return baseFill(array, value, start, end);
7960 * Creates a slice of `array` from `start` up to, but not including, `end`.
7971 * @param {number} [start=0] The start position.
7975 function slice(array, start, end) {
7980 if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {
7981 start = 0;
7985 start = start == null ? 0 : toInteger(start);
7988 return baseSlice(array, start, end);
8880 start = length ? paths[0] : 0,
8885 !(value instanceof LazyWrapper) || !isIndex(start)) {
8888 value = value.slice(start, +start + (length ? 1 : 0));
10840 * created function and arguments from `start` and beyond provided as
10851 * @param {number} [start=func.length-1] The start position of the rest parameter.
10863 function rest(func, start) {
10867 start = start === undefined ? start : toInteger(start);
10868 return baseRest(func, start);
10884 * @param {number} [start=0] The start position of the spread.
10905 function spread(func, start) {
10909 start = start == null ? 0 : nativeMax(toInteger(start), 0);
10911 var array = args[start],
10912 otherArgs = castSlice(args, 0, start);
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
14076 * @param {number} [start=0] The start of the range.
14103 function inRange(number, start, end) {
14104 start = toFinite(start);
14106 end = start;
14107 start = 0;
14112 return baseInRange(number, start, end);
14678 * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
14685 * @returns {string} Returns the start cased string.
15037 start = charsStartIndex(strSymbols, chrSymbols),
15040 return castSlice(strSymbols, start, end).join('');
15104 start = charsStartIndex(strSymbols, stringToArray(chars));
15106 return castSlice(strSymbols, start).join('');
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,
16017 * it's set to `start` with `start` then set to `0`.
16026 * @param {number} [start=0] The start of the range.
16028 * @param {number} [step=1] The value to increment or decrement by.
16064 * @param {number} [start=0] The start of the range.
16066 * @param {number} [step=1] The value to increment or decrement by.
17049 LazyWrapper.prototype.slice = function(start, end) {
17050 start = toInteger(start);
17053 if (result.__filtered__ && (start > 0 || end < 0)) {
17056 if (start < 0) {
17057 result = result.takeRight(-start);
17058 } else if (start) {
17059 result = result.drop(start);
17063 result = end < 0 ? result.dropRight(-end) : result.take(end - start);