{"size": 603, "ext": "js", "max_stars_repo_path": "public/src/ide/review-panel/filters/numKeys.js", "max_stars_repo_name": "shyoshyo/web-sharelatex", "max_stars_repo_stars_event_min_datetime": "2021-04-08T12:16:24.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-08T12:16:24.000Z", "max_issues_repo_path": "public/src/ide/review-panel/filters/numKeys.js", "max_issues_repo_name": "shyoshyo/web-sharelatex", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/src/ide/review-panel/filters/numKeys.js", "max_forks_repo_name": "shyoshyo/web-sharelatex", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.125, "max_line_length": 90, "alphanum_fraction": 0.631840796}
/* eslint-disable
    no-undef,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
 * decaffeinate suggestions:
 * DS102: Remove unnecessary code created because of implicit returns
 * DS207: Consider shorter variations of null checks
 * Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
 */
define(['base'], App =>
  app.filter(
    'numKeys',
    () =>
      function(object) {
        if (object != null) {
          return Object.keys(object).length
        } else {
          return 0
        }
      }
  ))
