MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/mtpxbr/iteration/gv20ejm/
r/badcode • u/[deleted] • Apr 19 '21
122 comments sorted by
View all comments
Show parent comment
2
you want !isNaN(string) then
!isNaN(string)
1 u/[deleted] Apr 19 '21 Yea that's the builtin method I saw someone use +string in their own method to do this idr what they did tho
1
Yea that's the builtin method I saw someone use +string in their own method to do this idr what they did tho
+string
View all comments
Show parent comment
2
u/Terrain2 Apr 19 '21
you want
!isNaN(string)then