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

feat: add CompareArrayLength type #126

Merged
merged 4 commits into from
Nov 21, 2024
Merged

Conversation

halvaradop
Copy link
Owner

@halvaradop halvaradop commented Nov 20, 2024

Description

This pull request introduces a new type called CompareArrayLength that compares the lengths of two arrays. It returns:

  • 1 if the first array is longer than the second,
  • 0 if the arrays have the same length,
  • -1 if the first array is shorter than the second.

Checklist

  • Added documentation.
  • The changes do not generate any warnings.
  • I have performed a self-review of my own code
  • All tests have been added and pass successfully

Notes

@halvaradop halvaradop merged commit 61a06d2 into master Nov 21, 2024
4 checks passed
@halvaradop halvaradop deleted the feat/add-compare-array-length branch November 21, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant