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