Check if a number is less than or equal to another number

Returns an exit code of 0 if integer_a is less than or equal to integer_b.

Authored by: Sidratul Muntaha
Brought to you by Warp, a free terminal reimagined to work like a modern app.
integer_a
integer_b

Command
Copy
[[ integer_a -le integer_b ]]
Tags