Core
Framework v2.x
2

exists() #

Returns a boolean telling whether filters exist for an index-collection pair.

Arguments #

Copied to clipboard!
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.