MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / lookupIterator

Function lookupIterator

Three.js/js/leap.js:5862–5864  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

5860
5861 // An internal function to generate lookup iterators.
5862 var lookupIterator = function(value) {
5863 return _.isFunction(value) ? value : function(obj){ return obj[value]; };
5864 };
5865
5866 // Sort the object's values by a criterion produced by an iterator.
5867 _.sortBy = function(obj, value, context) {

Callers 2

leap.jsFile · 0.85
groupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected