endpoints/endpoints

View on GitHub
es5/store-bookshelf/lib/prop.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Return a property from a provided model.
 *
 * @param {Bookshelf.Model} model
 * @param {String} property
 * @return {String|null}
 */
"use strict";

exports.__esModule = true;

exports["default"] = function (model, property) {
  return model.get(property);
};

module.exports = exports["default"];