deno.land / x / lodash@4.17.19 / npm-package / _getMatchData.js

_getMatchData.js
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
var isStrictComparable = require('./_isStrictComparable'), keys = require('./keys');
/** * 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`. */function getMatchData(object) { var result = keys(object), length = result.length;
while (length--) { var key = result[length], value = object[key];
result[length] = [key, value, isStrictComparable(value)]; } return result;}
module.exports = getMatchData;
lodash

Version Info

Tagged at
3 years ago

External Dependencies

No external dependencies 🎉