Rocky_Mountain_Vending/.pnpm-store/v10/files/23/90b1acc116ff6ba17449fef831b0437927e8f625ae72074b4723b8e5ce65e6123059382ceabde33b000e21dee18020ecf9a81645c54c479ead353dcef129b0
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

14 lines
324 B
Text

import identity from './identity.js';
/**
* Casts `value` to `identity` if it's not a function.
*
* @private
* @param {*} value The value to inspect.
* @returns {Function} Returns cast function.
*/
function castFunction(value) {
return typeof value == 'function' ? value : identity;
}
export default castFunction;