Product SiteDocumentation Site

5.3.13.13. hasItem


>>-hasItem(item-+--------+-)-----------------------------------><
                +-,index-+

Returns 1 (true) if the relation contains the member item item, 0 (false). If index is specified, hasItem() will only return true if the relation contains the pairing of item associated with index index. Item and index equality is determined by using the == method.