- Fix send email error when empty connected account - Add a global util to valid uuid - Add an util to check if object is workflow related
6 lines
157 B
TypeScript
6 lines
157 B
TypeScript
export const isValidUuid = (value: string) => {
|
|
return /^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i.test(
|
|
value,
|
|
);
|
|
};
|