shravan20 / flare.ts

A powerful utility library for clean code in js (npm package)
https://shravan20.github.io/flare.ts
MIT License
2 stars 6 forks source link

Added test case for `isAnyPropertyTrue` #10

Closed kartikeyam1 closed 11 months ago

kartikeyam1 commented 12 months ago

Summary by CodeRabbit


coderabbitai[bot] commented 12 months ago

Walkthrough

The changes introduced in this pull request add functionality to check specific conditions in arrays of numbers and strings. The results are then logged to the console for debugging or informational purposes.

Changes

File Summary
lib/sample.ts Two function calls were added: one checks if any number in an array is even, and the other checks if any string in an array ends with "o". Both use the isAnyPropertyTrue function from the ArrayUtils module.

🐇

In the land of code, where logic intertwines,

Arrays of numbers and strings align.

With a hop and a skip, we check and log,

Celebrating the journey through the digital fog. 🎉

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. The bot stays silent unless called upon. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume.