@sendbird/uikit-react
Version:
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
15 lines (13 loc) • 420 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;
}
export { compareIds as c };
//# sourceMappingURL=bundle-yd76uvgx.js.map