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
| Field | Type | Required | Description |
|---|---|---|---|
components | StatFormulaComponent | ✓ | The formula for the values involved in the check. Has to compute to a list of numbers.@type array<integer | decimaL> |