{"size": 436, "ext": "js", "max_stars_repo_path": "functions/var/is_double.js", "max_stars_repo_name": "mpak2/phpjs", "max_stars_repo_stars_event_min_datetime": "2017-11-08T10:22:04.000Z", "max_stars_repo_stars_event_max_datetime": "2018-01-25T17:48:08.000Z", "max_issues_repo_path": "functions/var/is_double.js", "max_issues_repo_name": "montanaflynn/phpjs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "functions/var/is_double.js", "max_forks_repo_name": "montanaflynn/phpjs", "max_forks_repo_forks_event_min_datetime": "2016-09-28T06:03:26.000Z", "max_forks_repo_forks_event_max_datetime": "2018-10-25T17:30:13.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 39.6363636364, "max_line_length": 98, "alphanum_fraction": 0.6444954128}
function is_double (mixed_var) {
  // http://kevin.vanzonneveld.net
  // +   original by: Paulo Freitas
  //  -   depends on: is_float
  // %        note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes
  // %        note 1: it different from the PHP implementation. We can't fix this unfortunately.
  // *     example 1: is_double(186.31);
  // *     returns 1: true
  return this.is_float(mixed_var);
}
