Are the Numbers Equal?

Published by Matt in

Create a function that takes two integers and checks if they are equal.

Examples

is_equal(5, 6) ➞ false

is_equal(1, 1) ➞ true

is_equal("1", 1) ➞ false

Notes

If there is a string then it should return false.

Watch a quick demo on how Edabit works.