pluck.js 156 B

123456789
  1. "use strict";
  2. var value = require("../object/valid-value");
  3. module.exports = function (name) {
  4. return function (obj) {
  5. return value(obj)[name];
  6. };
  7. };