LassoScript Utility
Basics Browse Detail


Tag Link [Compare_LessThanOrEquals] Category Comparator
Type Substitution Source Available Yes
Support Preferred Version 8.5.5
Change New Data Source Any
Output Type Integer Security None
Implementation LassoScript Sets Lasso 8.5


[Compare_LessThanOrEquals] can be used to sort an array or other compound data type in the ->SortWith member tag. The smallest value will be sorted to the front of the array.

[Compare_LessThanOrEquals] can also be used with [Match_Comparator] to return elements from a compound data type that are less or equal to the specified value. This comparator can also be triggered using a -LTE keyword.


[$Array->(Match_Comparator:\Compare_LessThanOrEquals, -RHS='Value')]

[$Array->(Match_Comparator:-LTE, 'Value')]


No Parameters Required.


See the Lasso 8 Language Guide for examples of how to use this tag.