1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
joplin/packages/lib/models/utils/isItemId.ts

4 lines
75 B
TypeScript

export default (id: string) => {
return id.match(/^[0-9a-zA-Z]{32}$/);
};