DekGenius.com
Team LiB   Previous Section   Next Section
<=

Syntax

10 is less than or equal to 11 -- returns true

Synonyms

[is] less than or equal [to]

is not greater than

isn't greater than

does not come after

doesn't come after

Return value

boolean; true or false

Description

This binary operator returns true if the left operand is less than or equal to the right operand. You can use dates, integers, reals, or strings with this operator. If both operators are not of the same class, then AppleScript attempts to coerce the right operand to the class of the left operand.

Examples

100 <= 200 -- returns true

300.536 is less than or equal to 300.537 -- returns true

12 isn't greater than 11 -- returns false
    Team LiB   Previous Section   Next Section