Home > doofinder > QueryFilter > set

QueryFilter.set() method

Set the value of a filter.

Signature:

set(name: string, value: unknown): void;

Parameters

Parameter Type Description
name string Name of the field.
value unknown Value of the filter.

Returns:

void

Remarks

Setting the value of a filter will replace any existing value.