Created
April 6, 2020 23:49
-
-
Save shameemreza/11a9e94954801ab3c558c90b0b207f88 to your computer and use it in GitHub Desktop.
blank() Helper
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
// We analyze if there are blank or null values | |
blank(''); | |
blank(' '); //Here we have blank spaces | |
blank(null); | |
// If there is a blank value or blank spaces we get 'true' | |
blank(0); | |
blank(true); | |
blank(false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment