Filter.operator

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

Operator used for the search filter. This value is set with the search.Operator enum. The search.Operator enum contains the valid operator values for this property.

Type

string (read-only)

Supported Script Types

Client and server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/search Module

Since

2015.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/search Module Script Samples.

          //Add additional code 
...
var mySearchFilter = search.createFilter({
    name: 'entity',
    operator: search.Operator.ISEMPTY
});
log.debug({
    details: 'Operator Used: ' 
        + mySearchFilter.operator
    });
...
//Add additional code 

        

Related Topics

search.Filter
N/search Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices