@sparklink-pro/apant
Version:
Apollo & Antd tools
16 lines • 631 B
TypeScript
/**
* Check if `value` contains `search` after setting both value to lower case, having their accents removed and removing all spaces.
*/
export declare const executeSearch: (search: string, value: string) => boolean;
/**
* Extract and concatenate the properties value from the given object.
* Handle arrays and objects.
* For example:
* Given the object:
```js
{ id: 1, comments: [{ text: 'hello' }, { text: 'world' }] }
```
* The extracted value of the property `comments.text` will be `hello world`
*/
export declare const extractValue: (searchItem: object, property: string) => any;
//# sourceMappingURL=search.d.ts.map