The HAS function returns true if a name or name/value is found inside a set.

#HAS(set, name)

#HAS(set, name, value)

 

Arguments:

Returns:

 

Example:

 

WHERE ebay.active

EVAL #HAS(ebay.itemspecifics, 'Brand')

EVAL #HAS(ebay.itemspecifics, 'Brand', 'Estes')

 

The Where command populates the Working Set with only products that are active on eBay. The first [[Batch Update Tool EVAL Command | Eval command] will display 1 (true) if the Item Specifics for the product contain a name/value pair where the name is "Brand" (the comparison is not case-sensitive). The second [[Batch Update Tool EVAL Command | Eval command] will display 1 (true) if the Item Specifics for the product contain a name/value pair where the name is "Brand" and the value is "Estes."