@dillonkearns/elm-graphql
Version:
<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">
3 lines (2 loc) • 1.16 kB
JavaScript
;function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var _newArrowCheck=_interopDefault(require("babel-runtime/helpers/newArrowCheck")),Fun=require("flow-static-land/lib/Fun"),_Object$keys=_interopDefault(require("babel-runtime/core-js/object/keys")),_toConsumableArray=_interopDefault(require("babel-runtime/helpers/toConsumableArray")),_this$1=void 0,get=function(e,r){return _newArrowCheck(this,_this$1),r[e]}.bind(void 0),get$1=Fun.curry(get),_this$2=void 0,getKeys=function(e){return _newArrowCheck(this,_this$2),Array.isArray(e)?[].concat(_toConsumableArray(e.keys())):_Object$keys(e)}.bind(void 0),_this$3=void 0,hasKey=function(e,r){return _newArrowCheck(this,_this$3),Object.prototype.hasOwnProperty.call(r,e)}.bind(void 0),hasKey$1=Fun.curry(hasKey),_this=void 0,haveSameProps=function(e,r){_newArrowCheck(this,_this);var t=getKeys(e);return t.length===getKeys(r).length&&t.every(function(t){return _newArrowCheck(this,_this),hasKey$1(t,r)&&get$1(t,e)===get$1(t,r)}.bind(this))}.bind(void 0),haveSameProps$1=Fun.curry(haveSameProps);module.exports=haveSameProps$1;
//# sourceMappingURL=haveSameProps.js.map