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

Function isValidUuid

packages/utils/src/id.ts:29–31  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

27 * Validates whether a string is a well-formed UUID (any version).
28 */
29export function isValidUuid(value: string): boolean {
30 return UUID_RE.test(value)
31}
32
33const URL_SAFE_ALPHABET = 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
34

Callers 6

normalizeArrayWithIdsFunction · 0.90
resolveOutputIdsFunction · 0.90
fetchAdminUsersFunction · 0.90
id.test.tsFile · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected