MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / isMoneyValue

Function isMoneyValue

lib/utils.ts:489–491  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

487}
488
489function isMoneyValue(str: string): boolean {
490 return /^[$£€]?\d{1,3},(\d\d\d,){0,2}\d{3}(.\d\d)?$/g.test(str);
491}
492
493export function isID(str: string): boolean {
494 if (str.length < 10) return false;

Callers 1

isIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected