Rocky_Mountain_Vending/.pnpm-store/v10/files/35/7e62be1e5ec00a6556b9af5cd65fc884d6fd8a8823238d7359ddd85cc21b592695f4f8dbd2e0d3333a8ef37e9f3657ac4822fa612908b57d2bd56b0a201b68
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

18 lines
515 B
Text

import baseSlice from './_baseSlice.js';
/**
* Casts `array` to a slice if it's needed.
*
* @private
* @param {Array} array The array to inspect.
* @param {number} start The start position.
* @param {number} [end=array.length] The end position.
* @returns {Array} Returns the cast slice.
*/
function castSlice(array, start, end) {
var length = array.length;
end = end === undefined ? length : end;
return (!start && end >= length) ? array : baseSlice(array, start, end);
}
export default castSlice;