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.