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

Function __isDuration

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

Source from the content-addressed store, hash-verified

577 }
578
579 function __isDuration(value) {
580 return (typeof value === "string") && /^(-|)?P[T]?[\d\.,\-]+[YMDTHS]/.test(value);
581 }
582
583 function __isEmpty(obj) {
584 if (obj === null || obj === undefined) {

Callers 3

valFnFunction · 0.85
fmtTimeFunction · 0.85
breeze.debug.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected