Less than or equals

Supported in: Batch, Streaming

Returns true if left is less than or equal to right.

Expression categories: Boolean

Declared arguments

  • Left - Left expression.
    Expression<ComparableType>
  • Right - Right expression.
    Expression<ComparableType>

Output type: Boolean

Examples

Example 1: Base case

Argument values:

  • Left: a
  • Right: b
abOutput
10false
11true
01true

Example 2: Base case

Argument values:

  • Left: a
  • Right: b
abOutput
10.5false
11.0true

Example 3: Base case

Argument values:

  • Left: a
  • Right: b
abOutput
abtrue
abcabcdtrue
baafalse

Example 4: Null case

Argument values:

  • Left: a
  • Right: b
abOutput
nullnulltrue
1nullfalse
null1true