controller/ProfileManager.js
/**
 * Checks if the height is invalid
 * @param {string} height 
 * @returns if height is invalid
 */
Checks if the height is invalid
@param {string} height
@returns if height is invalid
Checks if the height is invalid @param { string } height @returns if height is invalid
function invalidHeight(height){
    if(height === "")
        return true;
    let intHeight = parseInt(height);
    if(intHeight == NaN)
            return true;
    if(intHeight < 50 || intHeight > 250)
        return true;
    return false;
}
function invalidHeight ( height ) { if ( height === "" ) return true ; let intHeight = parseInt ( height ) ; if ( intHeight == NaN ) return true ; if ( intHeight < 50 || intHeight > 250 ) return true ; return false ; }
Checks if the height is invalid
 @param {string} height
 @returns if height is invalid
Checks if the height is invalid @param { string } height @returns if height is invalid