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

4 lines
75 B
TypeScript
Raw Normal View History

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