From f1bd102e19c77eafc1f7e4f084d148924ab5eb70 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Sun, 11 Dec 2022 13:01:17 +0000 Subject: [PATCH] Added `comparison` module --- src/utils/comparison/index.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/utils/comparison/index.ts diff --git a/src/utils/comparison/index.ts b/src/utils/comparison/index.ts new file mode 100644 index 0000000..1a54adb --- /dev/null +++ b/src/utils/comparison/index.ts @@ -0,0 +1,32 @@ +export { + Comparer, + + createComparer, + createBaseComparer, + createDefaultComparer, + convertComparerToEqualityComparer, + combineComparers, + invertComparer, +} from "./comparer"; + +export { + ORDINAL_COMPARER, + IGNORE_CASE_COMPARER, +} from "./string-comparer"; + +export { + EqualityComparer, + + createEqualityComparer, + createDefaultEqualityComparer, + orEqualityComparers, + andEqualityComparers, + negateEqualityComparer, +} from "./equality-comparer"; + +export { + ORDINAL_EQUALITY_COMPARER, + IGNORE_CASE_EQUALITY_COMPARER, + IGNORE_NON_WORD_CHARACTERS_EQUALITY_COMPARER, + IGNORE_CASE_AND_NON_WORD_CHARACTERS_EQUALITY_COMPARER, +} from "./string-equality-comparer";