You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using regex for this trivial task its overengineering, by the way, numbers like "3.14" will returns false :).
Never use regex for this, you can just write return "3.14".toFloatOrNull() != null
The text was updated successfully, but these errors were encountered:
KAHelpers/string/src/main/java/com/crazylegend/string/StringExtensions.kt
Lines 110 to 114 in e40d6c5
Using regex for this trivial task its overengineering, by the way, numbers like "3.14" will returns false :).
Never use regex for this, you can just write return
"3.14".toFloatOrNull() != null
The text was updated successfully, but these errors were encountered: