Created
July 30, 2018 20:44
-
-
Save ollelauribostrom/46e733047a41665f0b9f60babc940395 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function inRange({ number, low, high }) { | |
return number >= low && number <= high; | |
} | |
export default inRange; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment