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

Function extractName

codebase/sources/dhtmlxscheduler.es.js:18053–18059  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

18051 return __assign(__assign({}, DEFAULT_OPTIONS), options);
18052}
18053function extractName(line) {
18054 if (line.indexOf(":") === -1) {
18055 return { name: "RRULE", value: line };
18056 }
18057 var _a = split(line, ":", 1), name = _a[0], value = _a[1];
18058 return { name, value };
18059}
18060function breakDownLine(line) {
18061 var _a = extractName(line), name = _a.name, value = _a.value;
18062 var parms = name.split(";");

Callers 1

breakDownLineFunction · 0.70

Calls 1

splitFunction · 0.70

Tested by

no test coverage detected