MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / __isGuid

Function __isGuid

CustomerManager/Scripts/breeze.debug.js:575–577  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

573 }
574
575 function __isGuid(value) {
576 return (typeof value === "string") && /[a-fA-F\d]{8}-(?:[a-fA-F\d]{4}-){3}[a-fA-F\d]{12}/.test(value);
577 }
578
579 function __isDuration(value) {
580 return (typeof value === "string") && /^(-|)?P[T]?[\d\.,\-]+[YMDTHS]/.test(value);

Callers 3

valFnFunction · 0.85
fmtGuidFunction · 0.85
breeze.debug.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected