System.Contains - Manhunter07/MFL GitHub Wiki
Declaration
function Contains(Value: System.Struct, Member): System.Boolean = \built-in\
Description
The Contains function in the System package checks if a structured value passed as argument for Value contains a member by value. If there is a member with that value, the function returns True. If not, it returns False.
Remarks
The second argument when calling Contains should be:
When the function checks for a member value, the following rules apply:
- If the structure is empty (
"",[]or{}),Containsalways returnsFalse - If the data type of
Memberis not supported as member type forValue,ContainsreturnsFalseand no exception is raised