From c5124080dde057b4fe4c1fe0e83617c1db33c484 Mon Sep 17 00:00:00 2001 From: devbysn Date: Wed, 28 Jun 2023 18:34:53 +0530 Subject: [PATCH] Document Updated for filter method --- docs/filters.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/filters.md b/docs/filters.md index 2413f80..6034f34 100644 --- a/docs/filters.md +++ b/docs/filters.md @@ -112,9 +112,9 @@ map to: ```js { - initial: 'foo', - any: ['bar', 'cat'], - final: 'dog' + subInitial: 'foo', + subAny: ['bar', 'cat'], + subFinal: 'dog' } ``` @@ -124,9 +124,9 @@ key matching `attribute` and the "regex" matches the value ```js const f = new SubstringFilter({ attribute: 'cn', - initial: 'foo', - any: ['bar'], - final: 'baz' + subInitial: 'foo', + subAny: ['bar'], + subFinal: 'baz' }); f.matches({cn: 'foobigbardogbaz'}); => true