LassoScript Utility
Basics Browse Detail

[Compare_LessThanOrEquals]

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

Description

[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.

Syntax

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

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

Parameters

No Parameters Required.

Examples

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