MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / shallowProperty

Function shallowProperty

docs/_static/underscore-1.13.1.js:217–221  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

215
216 // Internal helper to generate a function to obtain property `key` from `obj`.
217 function shallowProperty(key) {
218 return function(obj) {
219 return obj == null ? void 0 : obj[key];
220 };
221 }
222
223 // Internal helper to obtain the `byteLength` property of an object.
224 var getByteLength = shallowProperty('byteLength');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected