MCPcopy
hub / github.com/simstudioai/sim / isVersionedType

Function isVersionedType

packages/utils/src/string.ts:37–39  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

35 * isVersionedType('a_version') // false
36 */
37export function isVersionedType(value: string): boolean {
38 return /_v\d+$/.test(value)
39}
40
41/**
42 * Normalizes an email address for comparison and storage by trimming

Callers 3

generateIconMappingFunction · 0.90
getToolInfoFunction · 0.90
string.test.tsFile · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected