lt
Returns true if the first input is strictly less than the second, false otherwise. The inputs must be numbers or strings, and both of the same type.
Example usage:
FillLayer fillLayer = new FillLayer("layer-id", "source-id");
fillLayer.setFilter(
lt(get("keyToValue"), get("keyToOtherValue"), collator(true, false))
);
Return
expression
Parameters
the first expression
the second expression
See also
Returns true if the first input is strictly less than the second, false otherwise. The inputs must be numbers or strings, and both of the same type.
Example usage:
FillLayer fillLayer = new FillLayer("layer-id", "source-id");
fillLayer.setFilter(
lt(get("keyToValue"), get("keyToOtherValue"), collator(true, false))
);
Return
expression
Parameters
the first expression
the second number
the collator expression
See also
Returns true if the first input is strictly less than the second, false otherwise.
Example usage:
FillLayer fillLayer = new FillLayer("layer-id", "source-id");
fillLayer.setFilter(
lt(get("keyToValue"), 2.0f)
);
Return
expression
Parameters
the first expression
the second number
See also
Returns true if the first input is strictly less than the second, false otherwise.
Example usage:
FillLayer fillLayer = new FillLayer("layer-id", "source-id");
fillLayer.setFilter(
lt(get("keyToValue"), "value")
);
Return
expression
Parameters
the first expression
the second string
See also
Returns true if the first input is strictly less than the second, false otherwise. The inputs must be numbers or strings, and both of the same type.
Example usage:
FillLayer fillLayer = new FillLayer("layer-id", "source-id");
fillLayer.setFilter(
lt(get("keyToValue"), get("keyToOtherValue"), collator(true, false))
);
Return
expression
Parameters
the first expression
the second String
the collator expression