Files
NapCatQQ/.pnpm-store/v3/files/8d/697210c275470c45682bf4fa4051dc735ce9723ebbda7ba407d41f9bcee42ca2b19d53803e7dedece43125abe64c4f67652c70c464f97478f6c00a8ce27ffa
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

17 lines
245 B
Plaintext

'use strict';
module.exports = function isSameType(x, y) {
if (x === y) {
return true;
}
if (typeof x === typeof y) {
if (typeof x !== 'object' || typeof y !== 'object') {
return true;
}
return !!x === !!y;
}
return false;
};