MCPcopy Index your code
hub / github.com/deployd/deployd / getMatchData

Function getMatchData

test-app/public/sinon.js:16582–16593  ·  view source on GitHub ↗

* Gets the property names, values, and compare flags of `object`. * * @private * @param {Object} object The object to query. * @returns {Array} Returns the match data of `object`.

(object)

Source from the content-addressed store, hash-verified

16580 * @returns {Array} Returns the match data of `object`.
16581 */
16582 function getMatchData(object) {
16583 var result = keys(object),
16584 length = result.length;
16585
16586 while (length--) {
16587 var key = result[length],
16588 value = object[key];
16589
16590 result[length] = [key, value, isStrictComparable(value)];
16591 }
16592 return result;
16593 }
16594
16595 /**
16596 * Gets the native function at `key` of `object`.

Callers 3

baseMatchesFunction · 0.85
isMatchFunction · 0.85
isMatchWithFunction · 0.85

Calls 2

keysFunction · 0.85
isStrictComparableFunction · 0.85

Tested by

no test coverage detected