@saber2pr/react
Version:
react in Typescript.
12 lines (11 loc) • 335 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/*
* @Author: saber2pr
* @Date: 2019-12-07 15:21:04
* @Last Modified by: saber2pr
* @Last Modified time: 2019-12-07 15:21:04
*/
exports.is = function (x, y) {
return (x === y && (x !== 0 || 1 / x === 1 / y)) || (x !== x && y !== y);
};