isEntryRef

tcmts.cli.main.isEntryRef · #i4bf2zmu · term · runs anywhere

export const isEntryRef = (ref: string) => /^(\d+|#?[a-z2-7]{4,})$/.test(ref) && (/^\d+$/.test(ref) || ref.startsWith("#") || /[2-7]/.test(ref))

used by