1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-11-23 22:14:53 +02:00

fix: doc and tests

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
Dr. Carsten Leue
2025-11-11 16:36:12 +01:00
parent 4f8a557072
commit 13063bbd88
28 changed files with 2619 additions and 4 deletions

View File

@@ -41,6 +41,9 @@ var (
// Includes returns a predicate that tests for the existence of the search string
Includes = F.Curry2(F.Swap(strings.Contains))
// HasPrefix returns a predicate that checks if the prefis is included in the string
HasPrefix = F.Curry2(F.Swap(strings.HasPrefix))
)
func Eq(left string, right string) bool {