# Function modifyFilter

modifyFilter( dashboard, filterToModify, newFilter): DashboardProps

Creates a new dashboard instance with a specific filter modified. Alias for replaceFilter.

# Parameters

Parameter Type Description
dashboard DashboardProps The original dashboard (DashboardProps) containing the filter to modify.
filterToModify Filter The existing filter to be modified.
newFilter Filter The new filter to replace the existing one.

# Returns

DashboardProps

A new dashboard instance with the specified filter modified.

Deprecated

Use replaceFilter instead