MCPcopy
hub / github.com/TargetProcess/tauCharts / filterEmptyValues

Function filterEmptyValues

examples/index.js:583–592  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

581 }
582
583 function filterEmptyValues(arr) {
584 if (!Array.isArray(arr)) {
585 arr = [arr];
586 }
587 return arr.map(function (d) {
588 return d.trim();
589 }).filter(function (d) {
590 return Boolean(d);
591 });
592 }
593
594 function fileRange(prefix, numbers) {
595 numbers = Array.prototype.slice.call(arguments, 1);

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected