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>
10 lines
263 B
Text
10 lines
263 B
Text
export default function some(values, test) {
|
|
if (typeof test !== "function") throw new TypeError("test is not a function");
|
|
let index = -1;
|
|
for (const value of values) {
|
|
if (test(value, ++index, values)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|