Skip to main content

LessThanEquals

This formula allows you to compare multiple numbers for a "less than" relationship. e.g: Given the array of numbers [x, y, z], this formula will return true if and only if x ≤ y and y ≤ z.

Returns

bool

JSON Format

{
"type": "lessThanEquals",
"components": ...
}

RPG Script

This component can be written in RPG Script as:

a <= b

Fields

FieldTypeRequiredDescription
componentsStatFormulaComponentThe formula for the values involved in the check. Has to compute to a list of numbers.
@type array<integer | decimaL>