lib/method-lists/list-instance-methods.js
function listInstanceMethods (Model) {
  var classMethods = Object.keys(Model.schema.methods);
  for (var method in ModelPrototype) {
    if (!isPrivateMethod(method) && isFunction(ModelPrototype[method])) {
      classMethods.push(method);
    }
  }
  return classMethods;
}
function listInstanceMethods (Model) {
  var classMethods = Object.keys(Model.schema.methods);
  for (var method in ModelPrototype) {
    if (!isPrivateMethod(method) && isFunction(ModelPrototype[method])) {
      classMethods.push(method);
    }
  }
  return classMethods;
}
function listInstanceMethods ( Model ) { var classMethods = Object . keys ( Model . schema . methods ) ; for ( var method in ModelPrototype ) { if ( ! isPrivateMethod ( method ) && isFunction ( ModelPrototype [ method ] ) ) { classMethods . push ( method ) ; } } return classMethods ; }
Return list of all instance methods when supplied a Model constructor
@param {Object} Model
@return {Array}
Return list of all instance methods when supplied a Model constructor