Files
immich/web/src/params/id.ts
T
Jason Rasmussen a16d233a0c chore(web): sort imports (#27922)
* feat: sort imports

* fix: something?
2026-04-21 14:51:38 -04:00

8 lines
247 B
TypeScript

import type { ParamMatcher } from '@sveltejs/kit';
import { UUID_REGEX } from '$lib/constants';
/* Returns true if the given param matches UUID format */
export const match: ParamMatcher = (param: string) => {
return UUID_REGEX.test(param);
};