-
-
Save kanakiyajay/50068192e883ce201993 to your computer and use it in GitHub Desktop.
Angular: Simple functions
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
function int(str) { | |
return parseInt(str, 10); | |
} |
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
function isUndefined(value){return typeof value === 'undefined';} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment