assertNotNull(val) {
        if (val === null || val === 'undefined') {
            console.error(`[CONTROLLER] param 'val' = ${val}`)
        } else {
            return false
        }
    }
/**
     * Log an error if val is null or undefined
     * @param  {any} val
     */
Log an error if val is null or undefined
@param  {any} val
Log an error if val is null or undefined @param { any } val
assertNotNull(val) {
        if (val === null || val === 'undefined') {
            console.error(`[CONTROLLER] param 'val' = ${val}`)
        } else {
            return false
        }
    }
assertNotNull ( val ) { if ( val === null || val === 'undefined' ) { console . error ( ` ${ val } ` ) } else { return false } }
Log an error if val is null or undefined
 @param  {any} val
Log an error if val is null or undefined @param { any } val