MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / parseIndividualNumber

Function parseIndividualNumber

codebase/sources/dhtmlxscheduler.es.js:17125–17130  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

17123 return parseIndividualNumber(value);
17124}
17125function parseIndividualNumber(value) {
17126 if (/^[+-]?\d+$/.test(value)) {
17127 return Number(value);
17128 }
17129 return value;
17130}
17131function parseWeekday(value) {
17132 var days = value.split(",");
17133 return days.map(function(day) {

Callers 1

parseNumberFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected