Returns the default value if the given text is blank, or the text self if it is not blank
Optional
the text to check
the default value placeholder
the default value if the given text is blank, or the text self if it is not blank
defaultIfBlank(undefined, 'foobar'); // 'foobar' Copy
defaultIfBlank(undefined, 'foobar'); // 'foobar'
Returns the default value if the given text is blank, or the text self if it is not blank