Tag Link | [Compare_GreaterThan] | Category | Comparator |
---|---|---|---|
Type | Substitution | Source Available | Yes |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | Integer | Security | None |
Implementation | LassoScript | Sets | Lasso 8.5, Lasso 8.0 |
[Compare_GreaterThan] can be used to sort an array or other compound data type in the ->SortWith member tag. The largest value will be sorted to the front of the array.
[Compare_GreaterThan] can also be used with [Match_Comparator] to return elements from a compound data type that are greater than the specified value. This comparator can also be triggered using a
[$Array->(Match_Comparator: \Compare_GreaterThan,
[$Array->(Match_Comparator:
No Parameters Required.
See the Lasso 8 Language Guide for examples of how to use this tag.