exists()
#
Returns a boolean telling whether filters exist for an index-collection pair.
Arguments #
exists(index: string, collection: string): boolean;
Arguments | Type | Description |
---|---|---|
index | string | Index name |
collection | string | Collection name |
Return #
The exists
function returns a boolean telling whether at least one filter exists in the provided index-collection pair.
Edit this page on Github(opens new window)