MCPcopy
hub / github.com/NUKnightLab/TimelineJS3 / clean_integer

Function clean_integer

src/js/core/ConfigFactory.js:9–13  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

7import { fetchCSV } from '../core/CSV';
8
9function clean_integer(s) {
10 if (s) {
11 return s.replace(/[\s,]+/g, ''); // doesn't handle '.' as comma separator, but how to distinguish that from decimal separator?
12 }
13}
14
15export function parseGoogleSpreadsheetURL(url) {
16 let parts = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected