{"size": 431, "ext": "js", "max_stars_repo_path": "src/helpers/clientCheck.js", "max_stars_repo_name": "prabhaav/inphood-website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/helpers/clientCheck.js", "max_issues_repo_name": "prabhaav/inphood-website", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/helpers/clientCheck.js", "max_forks_repo_name": "prabhaav/inphood-website", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.5238095238, "max_line_length": 37, "alphanum_fraction": 0.626450116}
import 'clientjs'
const client = new ClientJS()

export function isChrome() {
  return client.isChrome()
}

export function mobileCheck() {
  let flag = false
  if ( client.isMobile() ||
       client.isMobileMajor() ||
       client.isMobileAndroid() ||
       client.isMobileOpera() ||
       client.isMobileWindows() ||
       client.isMobileBlackBerry() ||
       client.isMobileIOS() ) 
  {
    flag = true
  }
  return flag
}