le
Returns whether the receiver is earlier than or equal to another month. Comparison uses the month index only.
API Reference
Signatures
Parameters
Returns
Returns true when the left month is earlier than or equal to the right;
otherwise false.
Throws
- Throws when an input value is not a valid month.
Agent Contract
Agent Notes
- Use comparison methods instead of relational operators on
Monthvalues. - Use lt when equality should be excluded.