Check if two numbers are equal

Returns an exit code of 0 if the two integers are equal to each other.

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 -eq integer_b ]]
Tags