index_of

index_of(an_item)

Obtain an index number of the object "an_item" in the XList instance.

Parameters
Result

integer : An index number of "an_item". If "an_item" is not in the target, 0 will be returned.