9 lines
148 B
Text
9 lines
148 B
Text
function chk(a)
|
|
return tonumber(a) != nil
|
|
end
|
|
|
|
a = {"123", "-320",
|
|
"-1342.40", "abc",
|
|
"1,234", "a123.0"}
|
|
|
|
a:map(chk); print(a:unpack())
|