Home > doofinder > QueryFilter > equals
QueryFilter.equals() method
Check whether there’s a filter for the provided name and it’s equal to the provided value or not.
Signature:
equals(name: string, value: unknown): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | Name of the field. |
value | unknown | The value for the filter. |
Returns:
boolean
A boolean value.