UNPKG

@stdlib/assert-is-same-value

Version:

Test if two arguments are the same value.

6 lines (5 loc) 436 B
"use strict";var s=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var t=s(function(o,u){ var n=require('@stdlib/complex-float64-base-assert-is-same-value/dist'),i=require('@stdlib/assert-is-complex-like/dist');function f(r,e){return r===e?r===0?1/r===1/e:!0:r!==r&&e!==e?!0:i(r)&&i(e)?n(r,e):!1}u.exports=f });var l=t();module.exports=l; /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map