CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
_getMatchData.js25 linesDownload Raw Back to lodash
1var isStrictComparable = require('./_isStrictComparable'),2    keys = require('./keys');3 4/**5 * Gets the property names, values, and compare flags of `object`.6 *7 * @private8 * @param {Object} object The object to query.9 * @returns {Array} Returns the match data of `object`.10 */11function getMatchData(object) {12  var result = keys(object),13      length = result.length;14 15  while (length--) {16    var key = result[length],17        value = object[key];18 19    result[length] = [key, value, isStrictComparable(value)];20  }21  return result;22}23 24module.exports = getMatchData;25 
basant307/AI_Governance_Project · CoolFace