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>
20 lines
No EOL
384 B
Text
20 lines
No EOL
384 B
Text
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = filter;
|
|
|
|
function filter(values, test) {
|
|
if (typeof test !== "function") throw new TypeError("test is not a function");
|
|
const array = [];
|
|
let index = -1;
|
|
|
|
for (const value of values) {
|
|
if (test(value, ++index, values)) {
|
|
array.push(value);
|
|
}
|
|
}
|
|
|
|
return array;
|
|
} |