const isValidPhone = (number = '') => /^([6,7,8,9]{1})+([0-9]{8})$/.test(number) || false const phoneMatchLength = (number = '') => number.length === 9 export { isValidPhone, phoneMatchLength }