====CONTAINS==== ===Parameters=== ^Order^Name^Type^Desc^ |1|list|any|The list to search through| |2|item|any|The item to search for| ===Returns=== Returns a [[const|const]]. ===Description=== This function returns **1** if //item// is in the //list//. Otherwise it returns **0** Note that this function can be simulated with the [[fEQUAL]] command. ===Example=== To demonstrate the function, let's look at a simple example. **'TE101' [[fASSET]] [[fRELS]] 'Location' [[fRELATIONSHIP]] [[fCONTAINS]] [ 'YES' ] [ 'NO' ] [[fIF]]** This function will return 'Yes' if the asset TE101 is part of the Location hierarchy, or "No" if it isn't. ===See Also=== [[fIF]] \\ [[fEQUAL]] \\ [[fGREATER]] \\ [[fLESS]] \\