@newdash/newdash
Version:
javascript/typescript utility library
20 lines (19 loc) • 728 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const baseForRight_1 = __importDefault(require("./baseForRight"));
const keys_1 = __importDefault(require("../keys"));
/**
* The base implementation of `forOwnRight`.
*
* @private
* @param {Object} object The object to iterate over.
* @param {Function} iteratee The function invoked per iteration.
* @returns {Object} Returns `object`.
*/
function baseForOwnRight(object, iteratee) {
return object && (0, baseForRight_1.default)(object, iteratee, keys_1.default);
}
exports.default = baseForOwnRight;