-
-
Save aleksey-rezvov/4a6fa7179fc788c295a6df9271856dd5 to your computer and use it in GitHub Desktop.
This file contains 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
export function isEven(num:number): boolean { | |
// Returns True if **num** is even or False if it is odd. | |
return Boolean(num % 2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment