* This method is like `_.findKey` except that it iterates over elements * of a `collection` in the opposite order. * * If a property name is provided for `callback` the created "_.pluck" style * callback will return the property value of the given element. * * If an obj
(object, callback, thisArg)
| 37106 | * // => 'pebbles' |
| 37107 | */ |
| 37108 | function findLastKey(object, callback, thisArg) { |
| 37109 | var result; |
| 37110 | callback = lodash.createCallback(callback, thisArg, 3); |
| 37111 | forOwnRight(object, function(value, key, object) { |
| 37112 | if (callback(value, key, object)) { |
| 37113 | result = key; |
| 37114 | return false; |
| 37115 | } |
| 37116 | }); |
| 37117 | return result; |
| 37118 | } |
| 37119 | |
| 37120 | /** |
| 37121 | * Iterates over own and inherited enumerable properties of an object, |
nothing calls this directly
no test coverage detected