for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
/**
*/
export default function notEmpty(variable) {
if (typeof variable !== 'undefined' && variable !== null && variable !== '') {
return block.fn(this)
block
/** global: block */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
}else {
return ''
}
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.