MCPcopy Create free account
hub / github.com/TruthHun/BookStack / lookupIterator

Function lookupIterator

static/word2md/mammoth.browser.js:15973–15975  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

15971
15972 // An internal function to generate lookup iterators.
15973 var lookupIterator = function(value) {
15974 return _.isFunction(value) ? value : function(obj){ return obj[value]; };
15975 };
15976
15977 // Sort the object's values by a criterion produced by an iterator.
15978 _.sortBy = function(obj, value, context) {

Callers 2

mammoth.browser.jsFile · 0.70
groupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected