Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
blank() Helper
// 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
You can’t perform that action at this time.