Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve handling of non-numeric values in isNumber<T> #168

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

jsteemann
Copy link
Contributor

previously, an exception was thrown and caught when isNumber was called on a non-numeric Slice.
now, this exception is avoided and the case is handled with a simple initial value type check instead.

previously, an exception was thrown and caught when isNumber<T> was
called on a non-numeric Slice.
now, this exception is avoided and the case is handled with a simple
initial value type check instead.
@cla-bot cla-bot bot added the cla-signed label Jul 25, 2024
@coveralls
Copy link

coveralls commented Jul 25, 2024

Coverage Status

coverage: 96.304% (+0.003%) from 96.301%
when pulling 372e0ad on bug-fix/improve-non-number-handling
into 4e7f1f0 on main.

@maierlars maierlars merged commit 911c5e2 into main Jul 26, 2024
14 checks passed
@maierlars maierlars deleted the bug-fix/improve-non-number-handling branch July 26, 2024 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants