UNPKG
@nosana/kit
Version:
latest (2.0.25)
2.0.25
2.0.23
2.0.19
2.0.18
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
1.0.10
1.0.9
1.0.8
1.0.7
1.0.3
1.0.2
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
Nosana KIT
@nosana/kit
/
dist
/
utils
/
convertStringToIterable.js
7 lines
•
211 B
JavaScript
View Raw
1
2
3
4
5
6
7
export
function
covertStringToIterable
(
input
) {
return
input .
split
(
','
) .
map
(
(
s
) =>
Number
(s.
trim
())) .
filter
(
(
n
) =>
!
isNaN
(n)); }
//# sourceMappingURL=convertStringToIterable.js.map