Skip to content

Conversation

@MorjanM96
Copy link

No description provided.

MHD ABDURRHMAN and others added 11 commits December 4, 2023 15:49
Removed unnecessary comments and redundant code inside the 'Extension.cs', 'WordCount.cs', and 'CharCount.cs' files. This attempt aids in improving code readability and maintenance. Also, several methods have been made static for consistency and potential performance improvements.
…lity

- Improved `Contains` and `NotContains` functions to handle case-insensitive comparisons and validate inputs for empty or null values.
- Refactored `In` and `NotIn` functions to support arrays and simplify logic.
- Added new `IsNotBlank` function and refactored `IsBlank` to use shared helper for blank checks.
- Extended `IsBetween` functionality to support DateTime comparisons and automatic bound swapping.
- Improved unit tests for all modified and newly added functions.
# Conflicts:
#	src/Albatross.Expression.Test/Operations/TextOperationTests.cs
#	src/Albatross.Expression/Extension.cs
#	src/Albatross.Expression/Functions/Text/CharCount.cs
#	src/Albatross.Expression/Functions/Text/WordCount.cs
# Conflicts:
#	src/Albatross.Expression.Test/Operations/TextOperationTests.cs
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.

3 participants