@sendbird/uikit-react
Version:
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
17 lines (14 loc) • 440 B
JavaScript
;
var isEmpty = function (val) { return (val === null || val === undefined); };
// Some Ids return string and number inconsistently
// only use to compare IDs
function compareIds(a, b) {
if (isEmpty(a) || isEmpty(b)) {
return false;
}
var aString = a.toString();
var bString = b.toString();
return aString === bString;
}
exports.compareIds = compareIds;
//# sourceMappingURL=bundle-CZ38Etcw.js.map