- Add Strike API credentials configuration - Implement Strike node with 9 resources (Account, Balance, Currency Exchange, Deposit, Invoice, Payment, Payment Method, Payout, Rates) - Add comprehensive operation descriptions for all resources - Include CLAUDE.MD documentation - Set up build configuration with TypeScript, ESLint, and Prettier 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
610 B
JavaScript
22 lines
610 B
JavaScript
"use strict";
|
|
|
|
var toPosInt = require("../../number/to-pos-integer")
|
|
, eq = require("../../object/eq")
|
|
, value = require("../../object/valid-value")
|
|
, objHasOwnProperty = Object.prototype.hasOwnProperty;
|
|
|
|
module.exports = function (other) {
|
|
var i, length;
|
|
value(this);
|
|
value(other);
|
|
length = toPosInt(this.length);
|
|
if (length !== toPosInt(other.length)) return false;
|
|
for (i = 0; i < length; ++i) {
|
|
if (objHasOwnProperty.call(this, i) !== objHasOwnProperty.call(other, i)) {
|
|
return false;
|
|
}
|
|
if (!eq(this[i], other[i])) return false;
|
|
}
|
|
return true;
|
|
};
|