This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

Value.LessThanOrEqual Operator

Compares two values, and returns true if the first is less than or equal to the second.

public static bool operator <=(Value operand1, Value operand2)

Parameters

Parameter Description
Value operand1 The first value.
Value operand2 The second value.

Return Type

bool: true if operand1 is less than or equal to operand2, false otherwise.

Source

Defined in YarnSpinner/Value.cs, line 617.