UNPKG

arquero

Version:

Query processing and transformation of array-backed data tables.

9 lines (8 loc) 193 B
export function isDigitString(value) { const n = value.length; for (let i = 0; i < n; ++i) { const c = value.charCodeAt(i); if (c < 48 || c > 57) return false; } return true; }