1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +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}$/);
};