lib/method-lists/list-class-methods.js
function listClassMethods (Model) {
  var classMethods = Object.keys(Model.schema.statics);
  for (var method in Model) {
    if (!isPrivateMethod(method) && isFunction(Model[method])) {
      classMethods.push(method);
    }
  }
  return classMethods;
}
function listClassMethods (Model) {
  var classMethods = Object.keys(Model.schema.statics);
  for (var method in Model) {
    if (!isPrivateMethod(method) && isFunction(Model[method])) {
      classMethods.push(method);
    }
  }
  return classMethods;
}
function listClassMethods ( Model ) { var classMethods = Object . keys ( Model . schema . statics ) ; for ( var method in Model ) { if ( ! isPrivateMethod ( method ) && isFunction ( Model [ method ] ) ) { classMethods . push ( method ) ; } } return classMethods ; }
Returns list of non-private class methods
@param {Object} Model
@return {Array}
Returns list of non - private class methods