Revert "filter documentation updated"

This reverts commit 71336fca3d.
This commit is contained in:
devbysn 2023-06-28 17:36:26 +05:30
parent 6d3eb59218
commit bc0f8e7762
1 changed files with 6 additions and 6 deletions

View File

@ -112,9 +112,9 @@ map to:
```js
{
subInitial: 'foo',
subAny: ['bar', 'cat'],
subFinal: 'dog'
initial: 'foo',
any: ['bar', 'cat'],
final: 'dog'
}
```
@ -124,9 +124,9 @@ key matching `attribute` and the "regex" matches the value
```js
const f = new SubstringFilter({
attribute: 'cn',
subInitial: 'foo',
subAny: ['bar'],
subFinal: 'baz'
initial: 'foo',
any: ['bar'],
final: 'baz'
});
f.matches({cn: 'foobigbardogbaz'}); => true