* 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)
| 52885 | * @returns {Array} Returns the match data of `object`. |
| 52886 | */ |
| 52887 | function getMatchData(object) { |
| 52888 | var result = keys(object), |
| 52889 | length = result.length; |
| 52890 | |
| 52891 | while (length--) { |
| 52892 | var key = result[length], |
| 52893 | value = object[key]; |
| 52894 | |
| 52895 | result[length] = [key, value, isStrictComparable(value)]; |
| 52896 | } |
| 52897 | return result; |
| 52898 | } |
| 52899 | |
| 52900 | module.exports = getMatchData; |
| 52901 |
no test coverage detected