Filter Definition Functions

To retrieve, create, update, and delete data filters, use the Filter Definition functions.

Usage 

In your SSJS code, load the core library.

1Platform.Load("core", "1");

Next, initialize the object. This code example shows how to initialize a filter definition with the external key of myFilterDef.

1var fd = FilterDefinition.Init("myFilterDef");

After you initialize the filter definition, you can use SSJS functions to modify it.