Skip to content

Do not throw except on non-array inputs #23

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

Merged
merged 1 commit into from
May 12, 2025
Merged

Conversation

josdejong
Copy link
Collaborator

  • Do not throw in gt, gte, lt, lte
  • Do not throw on empty arrays in functions sum, prod, average, min, max, and, or. Instead, return null. Still throw when passing non-array inputs to those functions.

@josdejong josdejong merged commit 27e5d24 into develop May 12, 2025
4 checks passed
@josdejong josdejong deleted the feat/no-throw branch May 12, 2025 09:55
Copy link

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant