isHistoryRef

tcmts.cli.main.isHistoryRef · #w2chlxid · term · runs anywhere

import { isEntryRef } from "#codebase/tcmts/cli/main";

export const isHistoryRef = (ref: string) => /^(@?[^@]+)?@v?\d+\.\d+\.\d+/.test(ref) || isEntryRef(ref)

uses

used by