accounting/database/dbPermission/user/userLogic.js
// declare a function used to check if the password has a number in it. 
declare a function used to check if the password has a number in it.
declare a function used to check if the password has a number in it .
function passwordDoesNotHaveNumber (password) 
  { 
    let str = String(password); 
    for( let i = 0; i < str.length; i++) 
    { 
      if(!isNaN(str.charAt(i))) 
      { 
        return false; 
        break; 
      } 
    } 
    return true; 
  }
function passwordDoesNotHaveNumber ( password ) { let str = String ( password ) ; for ( let i = 0 ; i < str . length ; i ++ ) { if ( ! isNaN ( str . charAt ( i ) ) ) { return false ; break ; } } return true ; }
declare a function used to check if the password has a number in it.
declare a function used to check if the password has a number in it .